aboutsummaryrefslogtreecommitdiffstats
path: root/backend/src/index.ts
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-10-27 22:25:44 -0700
committerPinapelz <yukais@pinapelz.com>2025-10-30 01:19:42 -0700
commit732f3873354863a4dec591d4d6a425edb7b47c61 (patch)
treeb03b2df492fdc9d9daf1c9c8cf8baff410983831 /backend/src/index.ts
parentaad52db138830de8b473ada5525f33164c65abab (diff)
add heatmap api endpoints and heatmap to stub profile page
Diffstat (limited to 'backend/src/index.ts')
-rw-r--r--backend/src/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/src/index.ts b/backend/src/index.ts
index ed9c45a..c0089c2 100644
--- a/backend/src/index.ts
+++ b/backend/src/index.ts
@@ -51,6 +51,8 @@ app.post('/api/logout', requireAuth, authRoutes.handleLogout);
app.get('/api/me', userRoutes.handleMeRoute);
app.get('/api/session', userRoutes.handleGetCurrentSession);
+app.get('/api/heatmap', requireAuth, userRoutes.handleGetScoresHeatmap);
+
app.get('/api/supportedGames', gameRoutes.handleGetSupportedGames);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage