Fixed BASE_URL protocol (for proxy support) in environment.prod.ts
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
production: true,
|
production: true,
|
||||||
API_CONFIG: {
|
API_CONFIG: {
|
||||||
BASE_URL: `http://${window.location.hostname}:${window.location.port}`,
|
BASE_URL: `${window.location.protocol}//${window.location.hostname}:${window.location.port}`,
|
||||||
BROKER_URL: `ws://${window.location.hostname}:${window.location.port}/ws`,
|
BROKER_URL: `ws://${window.location.hostname}:${window.location.port}/ws`,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user