fix(electron): always proxy UI dev server for CLI in dev

This commit is contained in:
Shantur Rathore
2026-02-10 10:38:47 +00:00
parent 0511d92cbf
commit ee9da95044
2 changed files with 7 additions and 3 deletions

View File

@@ -390,7 +390,8 @@ export class CliProcessManager extends EventEmitter {
}
if (options.dev) {
args.push("--ui-dev-server", "http://localhost:3000", "--log-level", "debug")
const devServer = process.env.VITE_DEV_SERVER_URL || process.env.ELECTRON_RENDERER_URL || "http://localhost:3000"
args.push("--ui-dev-server", devServer, "--log-level", "debug")
}
return args