Skip to content

Commit

Permalink
Fix Remote Socket Path
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Schmalfeldt committed Jun 30, 2019
1 parent aaecb01 commit c69f39f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
};

function remote_connect(currentRemote) {
socket = io.connect('https://promptr.tv/remote/');
socket = io.connect('https://promptr.tv', { path: '/remote/socket.io' });
remote = (currentRemote) ? currentRemote : random_string();

socket.on('connect', function() {
Expand Down
2 changes: 1 addition & 1 deletion remote.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
}

function clientConnect(remote) {
socket = io();
socket = io.connect('https://promptr.tv', { path: '/remote/socket.io' });

socket.on('connect', function() {
socket.emit('connectToRemote', remote);
Expand Down

0 comments on commit c69f39f

Please sign in to comment.