Update frontpage.js

This commit is contained in:
Kasper Rynning-Tønnesen
2019-04-23 16:01:43 +02:00
committed by GitHub
parent e59f332689
commit 0b3357e752

View File

@@ -462,7 +462,7 @@ var Frontpage = {
else add = window.location.hostname;
if(socket === undefined) {
no_socket = false;
socket = io.connect(''+add+':8080', connection_options);
socket = io.connect(''+add, connection_options);
socket.on('update_required', function(msg) {
if(window.location.hostname == "localhost") {
console.log(msg);