From 96d3248b66311e299b7b699c67d030c66d290dd8 Mon Sep 17 00:00:00 2001 From: Vic Wong Date: Thu, 26 Dec 2024 09:18:01 -0800 Subject: [PATCH] fix: splash menu iframe doesn't load over https --- pikaraoke/templates/splash.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pikaraoke/templates/splash.html b/pikaraoke/templates/splash.html index 28ea69c..b92a6a6 100644 --- a/pikaraoke/templates/splash.html +++ b/pikaraoke/templates/splash.html @@ -33,8 +33,6 @@ var confirmationDismissed = false; var volume = 0.85; - const url = `http://${window.location.host}`; - function startNowPlayingPolling() { nowPlayingInterval = setInterval(getNowPlaying, 1000); } @@ -263,7 +261,7 @@ } else { setUserCookie(); $("#menu-container").show(); - $("#menu-container iframe").attr("src", url); + $("#menu-container iframe").attr("src", "/"); showMenu = true; } }); @@ -396,7 +394,7 @@