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