aboutsummaryrefslogtreecommitdiffstats
path: root/backend/src/index.ts
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-07-07 11:48:51 -0700
committerPinapelz <yukais@pinapelz.com>2025-07-07 11:48:51 -0700
commit4fc648449d2275d34a4f94e8e2671d7d05125b1f (patch)
tree3b9f9504bf41caed611978e5cc04813d4789d508 /backend/src/index.ts
parent7fe146f97ddd3f5a8d0c1a996a73cb296c28b9cc (diff)
implement chart view by ID, allow request by pbOnly
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 114dfac..f51eaa2 100644
--- a/backend/src/index.ts
+++ b/backend/src/index.ts
@@ -56,6 +56,7 @@ app.get('/api/supportedGames', gameRoutes.handleGetSupportedGames);
app.post('/api/uploadScore', requireAuth, scoreRoutes.handleScoreUpload);
app.get('/api/scores', requireAuth, scoreRoutes.handleGetScores);
app.delete('/api/scores', requireAuth, scoreRoutes.handleScoreDeletion);
+app.get('/api/scores/:chartId', requireAuth, scoreRoutes.handleGetScoresByChartId);
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