diff --git a/vite.config.ts b/vite.config.ts index 1a77960..9496700 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -19,7 +19,7 @@ if (!version) { } export default defineConfig(({ isSsrBuild }) => ({ - base: `${prefix}/`, + base: isSsrBuild ? `${prefix}/` : undefined, plugins: [reactRouterHonoServer(), reactRouter(), tsconfigPaths()], css: { postcss: {