add playersettings, img, more match endpoints

This commit is contained in:
Devin Zuczek
2026-06-12 17:15:18 -04:00
parent 4a97e05866
commit 4d1ea9fe3e
42 changed files with 21397 additions and 2538 deletions
+1 -2
View File
@@ -10,8 +10,7 @@ const DEV_SECRET = 'dev-insecure-signing-key-change-me'
export const TOKEN_TTL_SECONDS = 3600
function base64url(input: ArrayBuffer | string): string {
const bytes =
typeof input === 'string' ? new TextEncoder().encode(input) : new Uint8Array(input)
const bytes = typeof input === 'string' ? new TextEncoder().encode(input) : new Uint8Array(input)
let binary = ''
for (const byte of bytes) {
binary += String.fromCharCode(byte)