fix: isolate profile frontend base paths

This commit is contained in:
2026-08-05 00:30:18 +00:00
parent bbb6de6971
commit 76cf5cd597
2 changed files with 6 additions and 1 deletions
@@ -411,7 +411,10 @@ export const buildProcessDefinitions = (
script: frontendScript,
cwd: frontendCwd,
args: ['preview', '--host', '0.0.0.0', '--port', String(profile.apiPort - 1), '--outDir', frontendOutDir],
env: baseEnv,
env: {
...baseEnv,
VITE_APP_BASE_PATH: `/${profile.profile}`,
},
},
api: {
name: apiName,