diff options
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}`); |
