From b9cb08cdacdc07cea41a8a352e17a994f7d92563 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 17 Oct 2023 09:54:19 +0100 Subject: [PATCH] docs: remove extraneous brace --- docs/1.getting-started/8.server.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 // ... } })