chore(dev): support accessing the dev server from non-localhost (#887)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export const environment = {
|
||||
production: false,
|
||||
API_CONFIG: {
|
||||
BASE_URL: 'http://localhost:6060',
|
||||
BROKER_URL: 'ws://localhost:6060/ws',
|
||||
BASE_URL: `http://${window.location.hostname}:6060`,
|
||||
BROKER_URL: `ws://${window.location.hostname}:6060/ws`,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user