Skip to content

Commit

Permalink
Port fix client
Browse files Browse the repository at this point in the history
  • Loading branch information
jayrajroshan committed Jul 27, 2020
1 parent f0782e1 commit 770ef58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/assets/speed.js
@@ -1,6 +1,6 @@
var HOST = location.origin.replace(/^http/, 'ws')

var ws = new WebSocket('ws://localhost:3000');
var ws = new WebSocket('HOST');

ws.onopen = function () {
console.log('websocket is connected ...')
Expand Down

0 comments on commit 770ef58

Please sign in to comment.