This commit is contained in:
Mukhtar Akere
2025-04-25 15:21:49 +01:00
parent ae5e237379
commit bce51ecd4f
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ func (q *QBit) Routes() http.Handler {
r.Use(q.CategoryContext)
r.Group(func(r chi.Router) {
r.Use(q.authContext)
r.Post("/register/login", q.handleLogin)
r.Post("/auth/login", q.handleLogin)
r.Route("/torrents", func(r chi.Router) {
r.Use(HashesCtx)
r.Get("/info", q.handleTorrentsInfo)