diff --git a/avian/frontend/apt.js b/avian/frontend/apt.js index 2723aa3..1387e75 100644 --- a/avian/frontend/apt.js +++ b/avian/frontend/apt.js @@ -1322,7 +1322,7 @@ // race a timeout because icecast can take 1–10s to warm up // depending on tunnel + bitrate. return new Promise(function (resolve, reject) { - liveEl = new Audio('?t=' + Date.now()); + liveEl = new Audio('/stream?t=' + Date.now()); // No crossOrigin — the stream is same-origin via the worker // and crossOrigin='anonymous' would require CORS headers // icecast doesn't send. diff --git a/avian/frontend/index.html b/avian/frontend/index.html index f9015b6..9107030 100644 --- a/avian/frontend/index.html +++ b/avian/frontend/index.html @@ -187,6 +187,18 @@ + + + +