update cors
This commit is contained in:
		@@ -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"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user