mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 07:48:14 +00:00
fix: only use basename in ssr build
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ if (!version) {
|
||||
}
|
||||
|
||||
export default defineConfig(({ isSsrBuild }) => ({
|
||||
base: `${prefix}/`,
|
||||
base: isSsrBuild ? `${prefix}/` : undefined,
|
||||
plugins: [reactRouterHonoServer(), reactRouter(), tsconfigPaths()],
|
||||
css: {
|
||||
postcss: {
|
||||
|
||||
Reference in New Issue
Block a user