From 3d2dbf1c2a90ad6e675391b712ee33eef28096b7 Mon Sep 17 00:00:00 2001 From: svatantrya Date: Sun, 5 Jul 2026 17:12:54 -0400 Subject: [PATCH] use COMMIT_HASH_PLACEHOLDER for server-side hash injection, remove version.json and local hooks --- index.html | 9 +-------- version.json | 1 - 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 version.json diff --git a/index.html b/index.html index d0ee6e4..25248ea 100644 --- a/index.html +++ b/index.html @@ -335,7 +335,7 @@ footer a{color:var(--accent);text-decoration:none}
Bitcoin After Life — Will Executor List welist@bitcoin-after.life - + COMMIT_HASH_PLACEHOLDER
@@ -497,13 +497,6 @@ document.getElementById('submit').addEventListener('click', async () => { (function init() { const blob = new Blob([JSON.stringify(allServers, null, 2)], { type: 'application/json' }); document.getElementById('download').href = URL.createObjectURL(blob); - fetch('/version.json') - .then(r => r.json()) - .then(v => { - document.getElementById('commit-link').href = 'https://bitcoin-after.life/gitea/bitcoinafterlife/bal-welist-website/commit/' + v.commit; - document.getElementById('commit-link').textContent = v.commit; - }) - .catch(() => {}); fetchData(); })(); diff --git a/version.json b/version.json deleted file mode 100644 index 67b3953..0000000 --- a/version.json +++ /dev/null @@ -1 +0,0 @@ -{"commit":"3925092"}