mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Login debug
This commit is contained in:
parent
0dd3c1f53d
commit
34397de285
@ -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/';
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user