Skip to content

Commit cb9b498

Browse files
committed
chore: revert back to empty object in an array
1 parent 1c332ef commit cb9b498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/isr-fallback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default defineNuxtModule({
3131
const outputPath = resolve(nitro.options.output.serverDir, '..', path, htmlFallback)
3232
mkdirSync(resolve(nitro.options.output.serverDir, '..', path), { recursive: true })
3333
writeFileSync(outputPath, spaTemplate)
34-
writeFileSync(outputPath.replace(htmlFallback, jsonFallback), '[]')
34+
writeFileSync(outputPath.replace(htmlFallback, jsonFallback), '[{}]')
3535
}
3636
})
3737
})

0 commit comments

Comments
 (0)