add debug entries to check custom url

This commit is contained in:
Nuwan 2024-11-23 20:00:26 +05:30
parent ea3cecbfcf
commit 80f0fa8bd9
2 changed files with 3 additions and 6 deletions

View File

@ -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) {

View File

@ -450,10 +450,12 @@
});
window.addEventListener('hashchange', function() {
console.log("_DEBUG_ hashchange event");
handleCustomUrlScheme();
});
window.addEventListener('load', (event) => {
console.log("_DEBUG_ load event");
handleCustomUrlScheme();
});