diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-02 21:40:39 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-02 21:40:39 +0300 |
| commit | bb5ec62a0da2cd689bc5c2d65f639ae90f4cc3b4 (patch) | |
| tree | ba71a825779411b998da039bf9918741fd9e2a05 /backend/api/routes.go | |
| parent | fix: imrpoved user models on responses (diff) | |
| download | lphub-bb5ec62a0da2cd689bc5c2d65f639ae90f4cc3b4.tar.gz lphub-bb5ec62a0da2cd689bc5c2d65f639ae90f4cc3b4.tar.bz2 lphub-bb5ec62a0da2cd689bc5c2d65f639ae90f4cc3b4.zip | |
fix: remove redundant home route
Former-commit-id: fbc6789b2ca54aeb13d8bc6e8ec406e524e00606
Diffstat (limited to 'backend/api/routes.go')
| -rw-r--r-- | backend/api/routes.go | 1 |
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) |