diff --git a/docs/1.getting-started/8.server.md b/docs/1.getting-started/8.server.md index 6d19639ea3..b19d0e9242 100644 --- a/docs/1.getting-started/8.server.md +++ b/docs/1.getting-started/8.server.md @@ -72,7 +72,7 @@ export default defineNuxtConfig({ '/api/*': { cache: { maxAge: 60 * 60 } }, // Redirection to avoid 404 '/old-page': { - redirect: { to: { '/new-page', statusCode: 302 } + redirect: { to: '/new-page', statusCode: 302 } } // ... }