From bce51ecd4fed0bb24cd1ec4a31ed6c5b8530e637 Mon Sep 17 00:00:00 2001 From: Mukhtar Akere Date: Fri, 25 Apr 2025 15:21:49 +0100 Subject: [PATCH] hotfix --- pkg/qbit/routes.go | 2 +- pkg/web/templates/config.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/qbit/routes.go b/pkg/qbit/routes.go index bd5a1ad..ca6f29a 100644 --- a/pkg/qbit/routes.go +++ b/pkg/qbit/routes.go @@ -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) diff --git a/pkg/web/templates/config.html b/pkg/web/templates/config.html index 3e0b316..b3c244e 100644 --- a/pkg/web/templates/config.html +++ b/pkg/web/templates/config.html @@ -48,7 +48,7 @@