diff --git a/management-dashboard-web-app/vite.config.ts b/management-dashboard-web-app/vite.config.ts index 7d7b35f..da8ba2c 100755 --- a/management-dashboard-web-app/vite.config.ts +++ b/management-dashboard-web-app/vite.config.ts @@ -31,7 +31,7 @@ export default defineConfig({ ], server: { // Allow connections from the VM hostname and any other host/IP - allowedHosts: ['exp-dash', 'localhost'], + allowedHosts: ['exp-dash', 'localhost', 'usda-dash.ugaif.com'], // Proxy API calls from the browser to the API container via the compose service name proxy: { '/api': { diff --git a/scheduling-remote/vite.config.ts b/scheduling-remote/vite.config.ts index f26fa29..a404b21 100644 --- a/scheduling-remote/vite.config.ts +++ b/scheduling-remote/vite.config.ts @@ -22,7 +22,7 @@ export default defineConfig({ server: { port: 3003, host: '0.0.0.0', - allowedHosts: ['exp-dash', 'localhost'], + allowedHosts: ['exp-dash', 'localhost', 'usda-dash.ugaif.com'], cors: true }, build: { diff --git a/video-remote/vite.config.ts b/video-remote/vite.config.ts index 1aab8ac..781ffdc 100644 --- a/video-remote/vite.config.ts +++ b/video-remote/vite.config.ts @@ -23,7 +23,7 @@ export default defineConfig({ server: { port: 3001, host: '0.0.0.0', - allowedHosts: ['exp-dash', 'localhost'], + allowedHosts: ['exp-dash', 'localhost', 'usda-dash.ugaif.com'], cors: true }, build: { diff --git a/vision-system-remote/vite.config.ts b/vision-system-remote/vite.config.ts index ddbc9d5..4c4a951 100644 --- a/vision-system-remote/vite.config.ts +++ b/vision-system-remote/vite.config.ts @@ -22,7 +22,7 @@ export default defineConfig({ server: { port: 3002, host: '0.0.0.0', - allowedHosts: ['exp-dash', 'localhost'], + allowedHosts: ['exp-dash', 'localhost', 'usda-dash.ugaif.com'], cors: true }, build: {