mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Update remotecontroller.js
This commit is contained in:
committed by
GitHub
parent
39d10745a1
commit
72cfbe26c1
@@ -21,7 +21,7 @@ window.addEventListener("DOMContentLoaded", function (){
|
||||
|
||||
if(window.location.hostname == "remote.zoff.me") add = "https://zoff.me";
|
||||
else add = "localhost";
|
||||
socket = io.connect(add+':8080', connection_options);
|
||||
socket = io.connect(add, connection_options);
|
||||
socket.on('update_required', function() {
|
||||
window.location.reload(true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user