diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-07-05 21:42:22 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-07-05 21:42:22 -0700 |
| commit | 400d772cc391d979747510776fa8acfb5a1d00cb (patch) | |
| tree | 55e1d4bd5bdbd65418e4d6f5822bd3c1c1fc1e32 /backend/src/index.ts | |
| parent | 943014fd38a3d784542f78cd4625d1ef2e220980 (diff) | |
implement generic score viewer and import deduplication
Diffstat (limited to 'backend/src/index.ts')
| -rw-r--r-- | backend/src/index.ts | 1 |
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}`); |
