We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e819407 commit 5a17966Copy full SHA for 5a17966
modules/isr-fallback.ts
@@ -15,7 +15,12 @@ export default defineNuxtModule({
15
nuxt.hook('nitro:init', nitro => {
16
nitro.hooks.hook('compiled', () => {
17
const spaTemplate = readFileSync(nitro.options.output.publicDir + '/200.html', 'utf-8')
18
- for (const path of ['package/[org]/[name]', 'package/[org]/[name]/v/[version]', '']) {
+ for (const path of [
19
+ 'package/[org]/[name]',
20
+ 'package/[org]/[name]/v',
21
+ 'package/[org]/[name]/v/[version]',
22
+ '',
23
+ ]) {
24
const outputPath = resolve(
25
nitro.options.output.serverDir,
26
'..',
0 commit comments