Explorar o código

opetion ignored

ash %!s(int64=2) %!d(string=hai) anos
pai
achega
c57facba03
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Backend/Sources/View/view_basics_api.py

+ 1 - 1
Backend/Sources/View/view_basics_api.py

@@ -45,7 +45,7 @@ def define_basic_api(app) :
             logger.debug("request json body : " + str(request.json))
 
 
-        if not request.path == __api_login_url__ :
+        if not request.path == __api_login_url__ and request.method != "OPTIONS":
 
 
             auth_header_value = request.headers.get('x-Auth-Token', None)