projects
/
libreplanet-static.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b03bb6b
)
2015: live: Use protocol relative URL for icecast XHR.
author
David Thompson
<dthompson2@worcester.edu>
Sat, 21 Mar 2015 01:12:36 +0000
(21:12 -0400)
committer
David Thompson
<dthompson2@worcester.edu>
Sat, 21 Mar 2015 01:12:36 +0000
(21:12 -0400)
2015/assets/js/stream.js
patch
|
blob
|
blame
|
history
diff --git
a/2015/assets/js/stream.js
b/2015/assets/js/stream.js
index 3edbdc06dbcd990fea0ba3c47b484c4caf4f480d..5afec44df7660385a8fa369464a8ae4167f5a02f 100644
(file)
--- a/
2015/assets/js/stream.js
+++ b/
2015/assets/js/stream.js
@@
-25,6
+25,8
@@
var app = {};
app.icecastUrl = "http://live.fsf.org";
+app.icecastApiUrl = "//live.fsf.org";
+
app.scheduleEvery = function(duration, thunk) {
thunk();
setTimeout(function() {
@@
-39,7
+41,7
@@
app.nullStats = {
};
app.streamStats = function(mount) {
- var statsUrl = app.icecastUrl.concat('/status-json.xsl');
+ var statsUrl = app.icecast
Api
Url.concat('/status-json.xsl');
return m.request({
method: "GET",