aboutsummaryrefslogtreecommitdiff
path: root/backend/api/routes.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2025-10-27 22:12:31 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2025-10-27 23:13:45 +0400
commit96f55dba15bcbba4e6d8f14035ecfd20ebcea8a8 (patch)
treed33156305b0e34e1c28e294e021447635dde3531 /backend/api/routes.go
parentfix/frontend: hide breakpoint in-between tablet and desktop on maps (#290) (diff)
downloadlphub-96f55dba15bcbba4e6d8f14035ecfd20ebcea8a8.tar.gz
lphub-96f55dba15bcbba4e6d8f14035ecfd20ebcea8a8.tar.bz2
lphub-96f55dba15bcbba4e6d8f14035ecfd20ebcea8a8.zip
feat/backend: timeline stats endpoint
Diffstat (limited to 'backend/api/routes.go')
-rw-r--r--backend/api/routes.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/api/routes.go b/backend/api/routes.go
index 690f844..ab6e704 100644
--- a/backend/api/routes.go
+++ b/backend/api/routes.go
@@ -54,8 +54,8 @@ func InitRoutes(router *gin.Engine) {
54 v1.GET("/games/:gameid", RateLimit, handlers.FetchChapters) 54 v1.GET("/games/:gameid", RateLimit, handlers.FetchChapters)
55 v1.GET("/chapters/:chapterid", RateLimit, handlers.FetchChapterMaps) 55 v1.GET("/chapters/:chapterid", RateLimit, handlers.FetchChapterMaps)
56 v1.GET("/games/:gameid/maps", RateLimit, handlers.FetchMaps) 56 v1.GET("/games/:gameid/maps", RateLimit, handlers.FetchMaps)
57 // Logs 57 // Stats
58 v1.GET("/logs/score", RateLimit, handlers.ScoreLogs) 58 v1.GET("/stats/timeline", RateLimit, handlers.Timeline)
59 // v1.GET("/logs/mod", IsAuthenticated, handlers.ModLogs) 59 v1.GET("/stats/scores", RateLimit, handlers.Scores)
60 } 60 }
61} 61}