mirror of
https://github.com/tale/headplane.git
synced 2026-08-27 15:37:04 +00:00
Route Vite prefix properly
This commit is contained in:
committed by
Aarnav Tale
parent
5b138c191a
commit
4df15fd4b2
+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: isSsrBuild ? `${prefix}/` : undefined,
|
base: `${prefix}/`,
|
||||||
plugins: [
|
plugins: [
|
||||||
reactRouterHonoServer(),
|
reactRouterHonoServer(),
|
||||||
reactRouter(),
|
reactRouter(),
|
||||||
|
|||||||
Reference in New Issue
Block a user