fix cors error, related to methods defn
@@ -40,7 +40,7 @@ CORS_EXPOSE_HEADERS=*,*
CORS_ALLOW_HEADERS=content-type,*
# The method or list of methods which the allowed origins are allowed to access for non-simple requests.
# Default : [GET,HEAD,POST,OPTIONS,PUT,PATCH,DELETE]
-CORS_ALLOW_METHODS=
+CORS_ALLOW_METHODS=GET,POST,PUT,DELETE
# The maximum time for which this CORS request maybe cached.
# This value is set as the Access-Control-Max-Age header.
# Format: timestamp
@@ -48,4 +48,4 @@ CORS_MAX_AGE=10000
# Allows users to make authenticated requests.
# If true, injects the Access-Control-Allow-Credentials header in responses.
# This allows cookies and credentials to be submitted across domains.
-CORS_ALLOW_CREDENTIALS=True
+CORS_ALLOW_CREDENTIALS=False
