aboutsummaryrefslogtreecommitdiffstats
path: root/backend/src/index.ts
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-07-05 21:42:22 -0700
committerPinapelz <yukais@pinapelz.com>2025-07-05 21:42:22 -0700
commit400d772cc391d979747510776fa8acfb5a1d00cb (patch)
tree55e1d4bd5bdbd65418e4d6f5822bd3c1c1fc1e32 /backend/src/index.ts
parent943014fd38a3d784542f78cd4625d1ef2e220980 (diff)
implement generic score viewer and import deduplication
Diffstat (limited to 'backend/src/index.ts')
-rw-r--r--backend/src/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/src/index.ts b/backend/src/index.ts
index 4a63c41..ec38ee6 100644
--- a/backend/src/index.ts
+++ b/backend/src/index.ts
@@ -54,6 +54,7 @@ app.get('/api/session', userRoutes.handleGetCurrentSession);
app.get('/api/supportedGames', gameRoutes.handleGetSupportedGames);
app.post('/api/uploadScore', requireAuth, scoreRoutes.handleScoreUpload);
+app.get('/api/scores', scoreRoutes.handleGetScores);
app.listen(port, () => {
console.log(`Server listening on port ${port}`);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage