feat: add invite code system for closed alpha registration

This commit is contained in:
2026-02-11 14:48:44 +01:00
parent 1d80044e67
commit a4d960b752
13 changed files with 195 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
// Client must find nonce where SHA256(challenge + nonce) has N leading zeros
// Server-first: tries /pow/challenge endpoint, falls back to local generation
const POW_SERVER = 'https://pow.kashilo.com'
export const POW_SERVER = 'https://pow.kashilo.com'
const DIFFICULTY = 4
const SERVER_TIMEOUT_MS = 1500