mirror of
https://github.com/tale/headplane.git
synced 2026-08-21 02:06:37 +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);
|
const { server } = parse(config);
|
||||||
|
|
||||||
export default defineConfig(({ isSsrBuild }) => ({
|
export default defineConfig(({ isSsrBuild }) => ({
|
||||||
base: `${prefix}/`,
|
base: isSsrBuild ? `${prefix}/` : undefined,
|
||||||
plugins: [
|
plugins: [
|
||||||
reactRouterHonoServer(),
|
reactRouterHonoServer(),
|
||||||
reactRouter(),
|
reactRouter(),
|
||||||
|
|||||||
Reference in New Issue
Block a user