chore: lint

This commit is contained in:
Daniel Roe 2024-06-16 00:07:06 +01:00
parent 2de885bab5
commit cb77ddc308
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -277,7 +277,7 @@ export default defineNuxtModule({
// TODO: inject routes in `200.html` in next nitro upgrade (2.9.7+) via https://github.com/unjs/nitro/pull/2517 // TODO: inject routes in `200.html` in next nitro upgrade (2.9.7+) via https://github.com/unjs/nitro/pull/2517
if (!nuxt.options.dev && !nuxt.options._prepare && nuxt.options.ssr) { if (!nuxt.options.dev && !nuxt.options._prepare && nuxt.options.ssr) {
nuxt.hook('app:templatesGenerated', (app) => { nuxt.hook('app:templatesGenerated', () => {
const nitro = useNitro() const nitro = useNitro()
if (nitro.options.prerender.crawlLinks) { if (nitro.options.prerender.crawlLinks) {
nitro.options.prerender.routes.push('/') nitro.options.prerender.routes.push('/')