fix: change dev port from 9700 to 9710 (avoid BridgeCoach conflict)

Port 9700 was occupied by BridgeCoach Docker container, causing the
Tauri debug binary to load the wrong frontend. Changed to 9710:
- vite.config.ts: server.port 9700 → 9710
- tauri.conf.json: devUrl localhost:9700 → localhost:9710
- wdio.conf.js: DEV_URL_PORT check updated
- Binary rebuilt with new port baked in
This commit is contained in:
Hibryda 2026-03-18 04:20:49 +01:00
parent 10de2a3c8b
commit 6459877c89
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
"identifier": "com.dexterfromlab.agent-orchestrator",
"build": {
"frontendDist": "../dist",
"devUrl": "http://localhost:9700",
"devUrl": "http://localhost:9710",
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build"
},

View file

@ -115,7 +115,7 @@ export const config = {
// CRITICAL: The debug binary has devUrl (localhost:9700) baked in.
// If another app (e.g., BridgeCoach) is serving on that port, the Tauri
// WebView loads the WRONG frontend. Fail fast if port 9700 is in use.
const DEV_URL_PORT = 9700;
const DEV_URL_PORT = 9710;
try {
const devPids = execSync(`lsof -ti:${DEV_URL_PORT} 2>/dev/null`, { encoding: 'utf8' }).trim();
if (devPids) {

View file

@ -4,7 +4,7 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'
export default defineConfig({
plugins: [svelte()],
server: {
port: 9700,
port: 9710,
strictPort: true,
},
clearScreen: false,