Skip to content

Commit 5a17966

Browse files
committed
chore: once more
1 parent e819407 commit 5a17966

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

modules/isr-fallback.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ export default defineNuxtModule({
1515
nuxt.hook('nitro:init', nitro => {
1616
nitro.hooks.hook('compiled', () => {
1717
const spaTemplate = readFileSync(nitro.options.output.publicDir + '/200.html', 'utf-8')
18-
for (const path of ['package/[org]/[name]', 'package/[org]/[name]/v/[version]', '']) {
18+
for (const path of [
19+
'package/[org]/[name]',
20+
'package/[org]/[name]/v',
21+
'package/[org]/[name]/v/[version]',
22+
'',
23+
]) {
1924
const outputPath = resolve(
2025
nitro.options.output.serverDir,
2126
'..',

0 commit comments

Comments
 (0)