use same http/https choice as lp static page
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Tue, 21 Mar 2017 22:51:53 +0000 (18:51 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Tue, 21 Mar 2017 22:51:53 +0000 (18:51 -0400)
so that the api resource will be loaded with the same method, solving
the mixed content error.

2017/assets/js/stream.js

index a3551ac5b88d6407f69bc8efc057f6e0b6ae54be..8aa689549bafff4e12e52963880bb0cd89700572 100644 (file)
@@ -48,7 +48,7 @@ var app = {};
 
 app.icecastUrl = "http://live2.fsf.org";
 
-app.icecastApiUrl = "http://live2.fsf.org";
+app.icecastApiUrl = "//live2.fsf.org";
 
 app.scheduleEvery = function(duration, thunk) {
   thunk();