Skip to content

Commit c60c9b2

Browse files
committed
client:build.base: env.CLIENT__BASE_HREF
1 parent fe393e5 commit c60c9b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { defineConfig } from "vite";
44

55
// https://vitejs.dev/config/
66
export default defineConfig({
7+
base: process.env.CLIENT__BASE_HREF || "/",
78
plugins: [react()],
89
server: {
910
host: true,

0 commit comments

Comments
 (0)