diff --git a/config/utils.py b/config/utils.py index 2abe97e..1fe67df 100644 --- a/config/utils.py +++ b/config/utils.py @@ -71,7 +71,7 @@ def get_config_form(mdl): class AllowCORSMixin(object): def add_access_control_headers(self, response): response["Access-Control-Allow-Origin"] = "*" - response["Access-Control-Allow-Methods"] = "GET, OPTIONS" + response["Access-Control-Allow-Methods"] = "GET, POST, OPTIONS" response["Access-Control-Max-Age"] = "1000" response["Access-Control-Allow-Headers"] = "X-Requested-With, Content-Type"