add cors
This commit is contained in:
		@@ -14,4 +14,11 @@ location /~static/ {
 | 
			
		||||
 | 
			
		||||
location / {
 | 
			
		||||
    try_files $uri @drop_app;
 | 
			
		||||
    if ($request_method = OPTIONS) {
 | 
			
		||||
        return 204;
 | 
			
		||||
    }
 | 
			
		||||
    add_header Access-Control-Allow-Origin *;
 | 
			
		||||
    add_header Access-Control-Max-Age 3600;
 | 
			
		||||
    add_header Access-Control-Expose-Headers Content-Length;
 | 
			
		||||
    add_header Access-Control-Allow-Headers Range;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user