🌽🍤 Checkpoint

./server.js:530995/152
./views/room.handlebars:530995/21
./room.js:530995/506
This commit is contained in:
Glitch (hello-express)
2020-04-09 15:14:45 +00:00
parent 0c282eaf59
commit 645e0f11e5
3 changed files with 10 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
</main>
<script>
let socket = new WebSocket(`wss://${window.location.hostname}`);
let socket = new WebSocket(`wss://${window.location.hostname}/{{room}}`);
socket.onopen = function(e) {
socket.send(JSON.stringify({