Skip to content

Commit bc3fc5e

Browse files
committed
fix: turns out we need isSsrBuild in vite.config.ts still
1 parent c98dc5e commit bc3fc5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const config = await readFile('config.example.yaml', 'utf-8');
2424
const { server } = parse(config);
2525

2626
export default defineConfig(({ isSsrBuild }) => ({
27-
base: `${prefix}/`,
27+
base: isSsrBuild ? `${prefix}/` : undefined,
2828
plugins: [
2929
reactRouterHonoServer(),
3030
reactRouter(),

0 commit comments

Comments
 (0)