mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 15:58:14 +00:00
fix: turns out we need isSsrBuild in vite.config.ts still
This commit is contained in:
+1
-1
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user