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.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/api/routes.go b/backend/api/routes.go
index 4dd8660..ac622d4 100644
--- a/backend/api/routes.go
+++ b/backend/api/routes.go
@@ -36,5 +36,7 @@ func InitRoutes(router *gin.Engine) {
36 v1.GET("/games", handlers.FetchGames) 36 v1.GET("/games", handlers.FetchGames)
37 v1.GET("/games/:id", handlers.FetchChapters) 37 v1.GET("/games/:id", handlers.FetchChapters)
38 v1.GET("/chapters/:id", handlers.FetchChapterMaps) 38 v1.GET("/chapters/:id", handlers.FetchChapterMaps)
39 v1.GET("/logs/score", handlers.ScoreLogs)
40 v1.GET("/logs/mod", CheckAuth, handlers.ModLogs)
39 } 41 }
40} 42}