fix: turns out we need isSsrBuild in vite.config.ts still
This commit is contained in:
parent
c98dc5ed1d
commit
bc3fc5ec5d
@ -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(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user