Update Site source

This commit is contained in:
Meghdad committed 2026-10-13 00:14:45 +03:30
1 parent c064430103
commit 709785d67f
6 files changed
+19 -17

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ export async function ledgerSnapshot(rows: {date:string;player:string;reason:str
const players = summarize(rows);
const digest = await crypto.subtle.digest('SHA-256', new TextEncoder().encode(rows.map(identity).sort().join('\n')));
const hash = Array.from(new Uint8Array(digest)).map(n=>n.toString(16).padStart(2,'0')).join('').slice(0,20);
const revision = `fa-v2-${hash}`;
const revision = `fa-v3-${hash}`;
return {
revision,
recent: rows.slice(0,4),