aboutsummaryrefslogtreecommitdiff
path: root/backend/api
diff options
context:
space:
mode:
Diffstat (limited to 'backend/api')
-rw-r--r--backend/api/routes.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/api/routes.go b/backend/api/routes.go
index ac622d4..fd3b8cc 100644
--- a/backend/api/routes.go
+++ b/backend/api/routes.go
@@ -17,7 +17,6 @@ func InitRoutes(router *gin.Engine) {
17 }) 17 })
18 v1.GET("/token", handlers.GetCookie) 18 v1.GET("/token", handlers.GetCookie)
19 v1.DELETE("/token", handlers.DeleteCookie) 19 v1.DELETE("/token", handlers.DeleteCookie)
20 v1.GET("/home", CheckAuth, handlers.Home)
21 v1.GET("/login", handlers.Login) 20 v1.GET("/login", handlers.Login)
22 v1.GET("/profile", CheckAuth, handlers.Profile) 21 v1.GET("/profile", CheckAuth, handlers.Profile)
23 v1.PUT("/profile", CheckAuth, handlers.UpdateCountryCode) 22 v1.PUT("/profile", CheckAuth, handlers.UpdateCountryCode)