add external url to allowed hosts
This commit is contained in:
@@ -31,7 +31,7 @@ export default defineConfig({
|
|||||||
],
|
],
|
||||||
server: {
|
server: {
|
||||||
// Allow connections from the VM hostname and any other host/IP
|
// 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 calls from the browser to the API container via the compose service name
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
port: 3003,
|
port: 3003,
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
allowedHosts: ['exp-dash', 'localhost'],
|
allowedHosts: ['exp-dash', 'localhost', 'usda-dash.ugaif.com'],
|
||||||
cors: true
|
cors: true
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
port: 3001,
|
port: 3001,
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
allowedHosts: ['exp-dash', 'localhost'],
|
allowedHosts: ['exp-dash', 'localhost', 'usda-dash.ugaif.com'],
|
||||||
cors: true
|
cors: true
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
port: 3002,
|
port: 3002,
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
allowedHosts: ['exp-dash', 'localhost'],
|
allowedHosts: ['exp-dash', 'localhost', 'usda-dash.ugaif.com'],
|
||||||
cors: true
|
cors: true
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
|||||||
Reference in New Issue
Block a user