diff --git a/apps/ui/playwright.config.ts b/apps/ui/playwright.config.ts index cb274d0d..65ab32cb 100644 --- a/apps/ui/playwright.config.ts +++ b/apps/ui/playwright.config.ts @@ -1,6 +1,6 @@ import { defineConfig, devices } from "@playwright/test"; -const port = process.env.TEST_PORT || 5173; +const port = process.env.TEST_PORT || 3007; const serverPort = process.env.TEST_SERVER_PORT || 3008; const reuseServer = process.env.TEST_REUSE_SERVER === "true"; const mockAgent = diff --git a/apps/ui/src/main.ts b/apps/ui/src/main.ts index 91625b11..b04a75af 100644 --- a/apps/ui/src/main.ts +++ b/apps/ui/src/main.ts @@ -29,7 +29,7 @@ let mainWindow: BrowserWindow | null = null; let serverProcess: ChildProcess | null = null; let staticServer: Server | null = null; const SERVER_PORT = 3008; -const STATIC_PORT = 5173; +const STATIC_PORT = 3007; /** * Get icon path - works in both dev and production, cross-platform diff --git a/apps/ui/vite.config.mts b/apps/ui/vite.config.mts index ed08342f..25376c82 100644 --- a/apps/ui/vite.config.mts +++ b/apps/ui/vite.config.mts @@ -61,7 +61,7 @@ export default defineConfig(({ command }) => { }, }, server: { - port: 5173, + port: 3007, }, build: { outDir: "dist", diff --git a/init.mjs b/init.mjs index 976d30e5..500a9115 100644 --- a/init.mjs +++ b/init.mjs @@ -301,8 +301,8 @@ async function main() { } // Kill any existing processes on required ports - log('Checking for processes on ports 5173 and 3008...', 'yellow'); - await killPort(5173); + log('Checking for processes on ports 3007 and 3008...', 'yellow'); + await killPort(3007); await killPort(3008); console.log(''); @@ -377,7 +377,7 @@ async function main() { } log('✓ Server is ready!', 'green'); - log(`The application will be available at: http://localhost:5173`, 'green'); + log(`The application will be available at: http://localhost:3007`, 'green'); console.log(''); // Start web app