We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29fcb83 commit b43059eCopy full SHA for b43059e
requirements.txt renamed to dev-requirements.txt
src/static/js/script.js
@@ -42,9 +42,9 @@ var client_name = prompt("What is your name?");
42
document.querySelector("#ws-id").textContent = client_name;
43
44
// uncomment below line to deploy to heroku
45
-var ws = new WebSocket(`wss://${window.location.host}/ws/${client_name}`);
+// var ws = new WebSocket(`wss://${window.location.host}/ws/${client_name}`);
46
// uncomment below line to tun on localhost
47
-// var ws = new WebSocket(`ws://${window.location.host}/ws/${client_name}`);
+var ws = new WebSocket(`ws://${window.location.host}/ws/${client_name}`);
48
49
50
// Send message on enter
0 commit comments