From ec969648cb276fc35e7c3f883656e4d2e8130fa3 Mon Sep 17 00:00:00 2001 From: valitovgaziz Date: Sat, 11 Oct 2025 05:57:57 +0500 Subject: [PATCH] modified: serv_nginx/api_bb/internal/handlers/auth.go add oprions rout path to auth.go --- serv_nginx/api_bb/internal/handlers/auth.go | 1 + 1 file changed, 1 insertion(+) diff --git a/serv_nginx/api_bb/internal/handlers/auth.go b/serv_nginx/api_bb/internal/handlers/auth.go index eb71c4c..6363f42 100644 --- a/serv_nginx/api_bb/internal/handlers/auth.go +++ b/serv_nginx/api_bb/internal/handlers/auth.go @@ -37,6 +37,7 @@ func (h *AuthHandler) Routes() chi.Router { r.Options("/login", h.handleOptions) r.Options("/logout", h.handleOptions) r.Options("/profile", h.handleOptions) + r.Options("/editProfile", h.handleOptions) r.Post("/register", h.Register) r.Post("/login", h.Login)