fix: turns out we need isSsrBuild in vite.config.ts still

This commit is contained in:
Aarnav Tale
2025-08-18 13:10:53 -04:00
parent c98dc5ed1d
commit bc3fc5ec5d
+1 -1
View File
@@ -24,7 +24,7 @@ const config = await readFile('config.example.yaml', 'utf-8');
const { server } = parse(config);
export default defineConfig(({ isSsrBuild }) => ({
base: `${prefix}/`,
base: isSsrBuild ? `${prefix}/` : undefined,
plugins: [
reactRouterHonoServer(),
reactRouter(),