Add the app URL

This commit is contained in:
Dave Smith-Hayes 2024-10-23 22:27:41 -04:00
parent a1c70b776b
commit 727d251971

View File

@ -1,6 +1,6 @@
export function createWebSocket() {
let appUrl = process.env.APP_URL;
appUrl = `//${appUrl}/chat-service`;
console.log(appUrl);
return new WebSocket(appUrl);
}