From a6fd2f86fe5d45ec33e180147eba38f98d9e1b2d Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 22 Jan 2023 13:44:26 +0000 Subject: [PATCH] fix: don't serve all SSG previews with base `index.html` --- src/presets/nitro-prerender.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/presets/nitro-prerender.ts b/src/presets/nitro-prerender.ts index 7452bc0ec6..9d78b14c9b 100644 --- a/src/presets/nitro-prerender.ts +++ b/src/presets/nitro-prerender.ts @@ -7,7 +7,7 @@ export const nitroPrerender = defineNitroPreset({ serverDir: "{{ buildDir }}/prerender", }, commands: { - preview: "npx serve -s ./public", + preview: "npx serve ./public", }, externals: { trace: false }, });