modified: serv_nginx/api_bb/internal/handlers/auth.go
add oprions rout path to auth.go
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user