mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
chore: lint
This commit is contained in:
parent
2de885bab5
commit
cb77ddc308
@ -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('/')
|
||||||
|
Loading…
Reference in New Issue
Block a user