From 34397de285c239b1d2bcab2214bcc13e2112e9c1 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 11 Dec 2025 14:53:49 +0100 Subject: [PATCH] Login debug --- customize.dist/login.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/customize.dist/login.js b/customize.dist/login.js index 31567afcb..deb847f2c 100644 --- a/customize.dist/login.js +++ b/customize.dist/login.js @@ -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/'; };