aboutsummaryrefslogtreecommitdiff
path: root/backend/api/routes.go
diff options
context:
space:
mode:
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}