From 10b16efb51d1adc0cd536d5a6c2e6032d770ef80 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Tue, 27 Oct 2026 01:37:38 +1100 Subject: [PATCH] fix(dashboard-v2): fail loudly when 5174 is taken --- dashboard-v2/vite.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dashboard-v2/vite.config.ts b/dashboard-v2/vite.config.ts index 26465bdfa..23341fbb2 100644 --- a/dashboard-v2/vite.config.ts +++ b/dashboard-v2/vite.config.ts @@ -5,7 +5,9 @@ export default defineConfig({ plugins: [react()], server: { // The Vue dashboard owns 5173; v2 runs beside it during the migration. + // strictPort fails loudly instead of silently moving to another port. port: 5174, + strictPort: true, // Proxies the API to a locally running archie-ui so the frontend can be // developed without rebuilding Go. changeOrigin stays false: archie-ui // refuses a mutation whose Origin does not match its Host, and the