mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Forgot to remove dev
This commit is contained in:
2
static/dist/frontpage.min.js
vendored
2
static/dist/frontpage.min.js
vendored
File diff suppressed because one or more lines are too long
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -44,7 +44,7 @@ var connection_options = {
|
||||
'secure': true
|
||||
};
|
||||
|
||||
if(window.location.hostname == "zoff.no") add = "https://dev.zoff.no";
|
||||
if(window.location.hostname == "zoff.no") add = "https://zoff.no";
|
||||
else add = "localhost";
|
||||
var socket = io.connect(''+add+':8880', connection_options);
|
||||
socket.on("get_list", function(){
|
||||
|
||||
@@ -182,7 +182,7 @@ $(document).ready(function (){
|
||||
'secure': true
|
||||
};
|
||||
|
||||
if(window.location.hostname == "zoff.no") add = "https://dev.zoff.no";
|
||||
if(window.location.hostname == "zoff.no") add = "https://zoff.no";
|
||||
else add = "localhost";
|
||||
var socket = io.connect(''+add+':8880', connection_options);
|
||||
socket.emit('frontpage_lists');
|
||||
|
||||
Reference in New Issue
Block a user