Skip to content

Commit

Permalink
fix: don't serve all SSG previews with base index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jan 22, 2023
1 parent 63e250d commit a6fd2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/presets/nitro-prerender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const nitroPrerender = defineNitroPreset({
serverDir: "{{ buildDir }}/prerender",
},
commands: {
preview: "npx serve -s ./public",
preview: "npx serve ./public",
},
externals: { trace: false },
});

0 comments on commit a6fd2f8

Please sign in to comment.