multiplayer fix

This commit is contained in:
Ruben Fiszel
2023-05-30 21:05:59 +02:00
parent f11fcd8f17
commit 1781b4dfeb
2 changed files with 1 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ FROM node:slim
EXPOSE 3002
ENV PORT 3002
ENV HOST 0.0.0.0
RUN npm install -g y-websocket

View File

@@ -151,7 +151,6 @@
const wsProtocol = BROWSER && window.location.protocol == 'https:' ? 'wss' : 'ws'
console.log(window.location.host)
wsProvider = new WebsocketProvider(
`${wsProtocol}://${window.location.host}/ws_mp/`,
$workspaceStore + '/' + path ?? 'no-room-name',