Open HTTP streams in new tab to bypass mixed content
All checks were successful
Build and push Docker image / build (push) Successful in 11s
Test / test (push) Successful in 15s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
marwin 2026-03-22 11:45:40 +01:00
parent da300b54c7
commit 2859464b14

View file

@ -67,6 +67,11 @@ function escapeHtml(str) {
function playStation(url, name, stationId) {
stopPlayback(false);
if (location.protocol === 'https:' && url.startsWith('http://')) {
window.open(url, '_blank');
return;
}
currentStation = { url, name, id: stationId || null };
isPlaying = true;