Skip to content

Commit

Permalink
removed temp changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshal6927 committed Jul 31, 2022
1 parent 29fcb83 commit b43059e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/static/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ var client_name = prompt("What is your name?");
document.querySelector("#ws-id").textContent = client_name;

// uncomment below line to deploy to heroku
var ws = new WebSocket(`wss://${window.location.host}/ws/${client_name}`);
// var ws = new WebSocket(`wss://${window.location.host}/ws/${client_name}`);
// uncomment below line to tun on localhost
// var ws = new WebSocket(`ws://${window.location.host}/ws/${client_name}`);
var ws = new WebSocket(`ws://${window.location.host}/ws/${client_name}`);


// Send message on enter
Expand Down

0 comments on commit b43059e

Please sign in to comment.