diff --git a/docs/1.getting-started/8.server.md b/docs/1.getting-started/8.server.md index a0086f7aef..73ae229e1c 100644 --- a/docs/1.getting-started/8.server.md +++ b/docs/1.getting-started/8.server.md @@ -68,7 +68,7 @@ export default defineNuxtConfig({ routeRules: { '/': { prerender: true }, // Generated at build time for SEO purpose '/api/*': { cache: { maxAge: 60 * 60 } } // Cached for 1 hour - '/old-page': { redirect: { to: { '/new-page', status: 302 } } // Redirection to avoid 404 + '/old-page': { redirect: { to: '/new-page', status: 302 } } // Redirection to avoid 404 // ... } })