Login debug

This commit is contained in:
yflory 2025-12-11 14:53:49 +01:00
parent 0dd3c1f53d
commit 34397de285

View File

@ -90,6 +90,15 @@ define([
return;
}
}
if (window.location.hash === '#debug') {
let hash = LocalStore.getBlockHash();
let parsed;
if (hash) { parsed = Block.parseBlockHash(hash); }
alert(JSON.stringify({
blockId: parsed.href || '?'
}, 0, 2));
return;
}
window.location.href = '/drive/';
};