fix: turns out we need isSsrBuild in vite.config.ts still
This commit is contained in:
parent
c98dc5ed1d
commit
bc3fc5ec5d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue