mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
docs: remove extraneous brace
This commit is contained in:
parent
ae630c599f
commit
b9cb08cdac
@ -68,7 +68,7 @@ export default defineNuxtConfig({
|
|||||||
routeRules: {
|
routeRules: {
|
||||||
'/': { prerender: true }, // Generated at build time for SEO purpose
|
'/': { prerender: true }, // Generated at build time for SEO purpose
|
||||||
'/api/*': { cache: { maxAge: 60 * 60 } } // Cached for 1 hour
|
'/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
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user