mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying to fix https issue
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
<!--<script type="text/javascript" src="/static/js/lib/iscroll-min.js"></script>-->
|
<!--<script type="text/javascript" src="/static/js/lib/iscroll-min.js"></script>-->
|
||||||
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha256.js"></script>
|
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha256.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var socket = io.connect('http://'+window.location.hostname+':3000');
|
var socket = io.connect('//'+window.location.hostname+':3000');
|
||||||
var guid = "<?php echo $guid; ?>";
|
var guid = "<?php echo $guid; ?>";
|
||||||
socket.on("get_list", function(){
|
socket.on("get_list", function(){
|
||||||
console.log("get_list");
|
console.log("get_list");
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ $(document).ready(function (){
|
|||||||
list_html = $("#channels").html();
|
list_html = $("#channels").html();
|
||||||
$("#channels").empty();
|
$("#channels").empty();
|
||||||
|
|
||||||
var socket = io.connect('http://'+window.location.hostname+':3000');
|
var socket = io.connect('//'+window.location.hostname+':3000');
|
||||||
var playlists = [];
|
var playlists = [];
|
||||||
socket.emit('frontpage_lists');
|
socket.emit('frontpage_lists');
|
||||||
socket.on('playlists', function(msg){
|
socket.on('playlists', function(msg){
|
||||||
|
|||||||
Reference in New Issue
Block a user