mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +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";
|
if(window.location.hostname == "remote.zoff.me") add = "https://zoff.me";
|
||||||
else add = "localhost";
|
else add = "localhost";
|
||||||
socket = io.connect(add+':8080', connection_options);
|
socket = io.connect(add, connection_options);
|
||||||
socket.on('update_required', function() {
|
socket.on('update_required', function() {
|
||||||
window.location.reload(true);
|
window.location.reload(true);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user