diff options
| author | Nidboj132 <lol2s@vp.pl> | 2023-05-06 16:11:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-06 16:11:37 +0200 |
| commit | cbe16bdb713a5d82a7a67a4a2a4f1d49b59663ae (patch) | |
| tree | 4d04c0cdea26e0e497134b99c0e34a7d9d478f34 /backend/routes/routes.go | |
| parent | login test (diff) | |
| parent | fix: allow credentials cors (diff) | |
| download | lphub-cbe16bdb713a5d82a7a67a4a2a4f1d49b59663ae.tar.gz lphub-cbe16bdb713a5d82a7a67a4a2a4f1d49b59663ae.tar.bz2 lphub-cbe16bdb713a5d82a7a67a4a2a4f1d49b59663ae.zip | |
Merge branch 'pektezol:main' into main
Diffstat (limited to 'backend/routes/routes.go')
| -rw-r--r-- | backend/routes/routes.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/routes/routes.go b/backend/routes/routes.go index 53d4e78..2554fa4 100644 --- a/backend/routes/routes.go +++ b/backend/routes/routes.go | |||
| @@ -28,5 +28,8 @@ func InitRoutes(router *gin.Engine) { | |||
| 28 | v1.POST("/maps/:id/record", middleware.CheckAuth, controllers.CreateRecordWithDemo) | 28 | v1.POST("/maps/:id/record", middleware.CheckAuth, controllers.CreateRecordWithDemo) |
| 29 | v1.GET("/rankings", middleware.CheckAuth, controllers.Rankings) | 29 | v1.GET("/rankings", middleware.CheckAuth, controllers.Rankings) |
| 30 | v1.GET("/search", controllers.Search) | 30 | v1.GET("/search", controllers.Search) |
| 31 | v1.GET("/games", controllers.FetchGames) | ||
| 32 | v1.GET("/games/:id", controllers.FetchChapters) | ||
| 33 | v1.GET("/chapters/:id", controllers.FetchChapterMaps) | ||
| 31 | } | 34 | } |
| 32 | } | 35 | } |