Add leaderboards

This commit is contained in:
Lncvrt committed 2026-02-19 20:53:27 -07:00
1 parent 7ad4d56b88
commit 50e3a8b77c
4 files changed
+69 -1

No files matched your search

+9
View File
@@ -4,3 +4,12 @@ export const jsonResponse = (data: any, status = 200) => {
headers: { 'Content-Type': 'application/json' }
})
}
export const splitGd = (input: string): Record<string, string> => {
const parts = input.split(':')
const result: Record<string, string> = {}
for (let i = 0; i < parts.length - 1; i += 2) {
result[parts[i]] = parts[i + 1]
}
return result
}