fix(dashboard-v2): fail loudly when 5174 is taken
This commit is contained in:
1 parent
c6c26c93b7
commit
9eea37dca4
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user