Browse Source

opetion ignored

ash 2 years ago
parent
commit
c57facba03
1 changed files with 1 additions and 1 deletions
  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)