Add the app URL
This commit is contained in:
parent
a1c70b776b
commit
727d251971
@ -1,6 +1,6 @@
|
|||||||
export function createWebSocket() {
|
export function createWebSocket() {
|
||||||
let appUrl = process.env.APP_URL;
|
let appUrl = process.env.APP_URL;
|
||||||
appUrl = `//${appUrl}/chat-service`;
|
appUrl = `//${appUrl}/chat-service`;
|
||||||
|
console.log(appUrl);
|
||||||
return new WebSocket(appUrl);
|
return new WebSocket(appUrl);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user