overcome CORS
This commit is contained in:
@@ -34,7 +34,7 @@ server {
|
||||
if ($request_method = "OPTIONS") {
|
||||
add_header "Access-Control-Allow-Origin" "*";
|
||||
add_header "Access-Control-Allow-Headers" "Content-Type";
|
||||
add_header "Content-Type" "text/plain charset=UTF-8";
|
||||
add_header "Content-Type" "text/plain;charset=UTF-8";
|
||||
add_header "Content-Length" 0;
|
||||
return 204;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user