add external url to allowed hosts
This commit is contained in:
@@ -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': {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user