fix projekt links

This commit is contained in:
Sabrina Hennrich 2025-05-27 09:19:16 +02:00
parent aa710c944e
commit d6884ba09c
2 changed files with 3 additions and 6 deletions

View File

@ -57,10 +57,7 @@ export default defineNuxtConfig({
siteUrl: process.env.APP_URL || 'https://www.digimedialoop.de',
trailingSlash: false,
ignorePaths: ['/sitemap.xml'],
i18n: true,
async routes() {
return await getSitemapRoutes()
}
i18n: true
},
robots: {
rules: [
@ -118,7 +115,7 @@ export default defineNuxtConfig({
},
nitro: {
prerender: {
crawlLinks: false,
crawlLinks: true,
failOnError: false,
//routes: ['/', '/webagency'] // Wichtige Routen vorrendern , '/impressum', '/datenschutz'
}

View File

@ -145,7 +145,7 @@ const projectItems = computed(() => {
url: project.projectImages[0]?.url || '',
alternativeText: project.projectImages[0]?.alternativeText || project.customer?.company || ''
},
link: project.link || ''
link: '/projekt/' + project.link || ''
}))
})