aboutsummaryrefslogtreecommitdiff
path: root/backend/api/routes.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-02 11:09:42 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-02 11:09:42 +0300
commit69c5423f7954b641109166e03ad0ab174b3d55c6 (patch)
treec53539e4b0ee17620422de3761dba70277c417c9 /backend/api/routes.go
parentdocs: added privacy policy (diff)
downloadlphub-69c5423f7954b641109166e03ad0ab174b3d55c6.tar.gz
lphub-69c5423f7954b641109166e03ad0ab174b3d55c6.tar.bz2
lphub-69c5423f7954b641109166e03ad0ab174b3d55c6.zip
feat: testing logging system (#55)
Former-commit-id: d8c5fda30ab08b42218aead1febdf83200948763
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}