diff --git a/serv_nginx/api_bb/internal/handlers/auth.go b/serv_nginx/api_bb/internal/handlers/auth.go index 82fd166..6107f37 100644 --- a/serv_nginx/api_bb/internal/handlers/auth.go +++ b/serv_nginx/api_bb/internal/handlers/auth.go @@ -31,11 +31,6 @@ func NewAuthHandler(authService service.AuthService, jwtService service.JWTServi } } -// Обработчик для OPTIONS запросов -func (h *AuthHandler) handleOptions(w http.ResponseWriter, r *http.Request) { - w.WriteHeader(http.StatusOK) -} - type RegisterRequest struct { Email string `json:"email"` Password string `json:"password"`