Update remotecontroller.js

This commit is contained in:
Kasper Rynning-Tønnesen
2019-04-23 16:01:34 +02:00
committed by GitHub
parent 39d10745a1
commit 72cfbe26c1

View File

@@ -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);
});