diff --git a/web/app/assets/javascripts/JamServer.js b/web/app/assets/javascripts/JamServer.js index 7a12e2daf..8b618e983 100644 --- a/web/app/assets/javascripts/JamServer.js +++ b/web/app/assets/javascripts/JamServer.js @@ -373,12 +373,7 @@ function handleLoggedInResponse(customUrl) { console.log("handleLoggedInResponse", customUrl); - try { - const url = new URL(customUrl); - window.location.href = customUrl; - } catch (e) { - console.log("** error in handleLoggedInResponse", e, customUrl); - } + window.location.href = customUrl; } function setActive(active) { diff --git a/web/app/views/clients/index.html.erb b/web/app/views/clients/index.html.erb index 2f8840d67..2f40a52a8 100644 --- a/web/app/views/clients/index.html.erb +++ b/web/app/views/clients/index.html.erb @@ -450,10 +450,12 @@ }); window.addEventListener('hashchange', function() { + console.log("_DEBUG_ hashchange event"); handleCustomUrlScheme(); }); window.addEventListener('load', (event) => { + console.log("_DEBUG_ load event"); handleCustomUrlScheme(); });