mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-31 11:56:27 +03:00
Fix syntax
This commit is contained in:
committed by
GitHub
parent
677e05e46c
commit
72bbc79943
@@ -1,7 +1,7 @@
|
|||||||
if ($request_method = 'OPTIONS') {
|
if ($request_method = 'OPTIONS') {
|
||||||
add_header 'Access-Control-Allow-Origin' '*';
|
add_header 'Access-Control-Allow-Origin' '*';
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE';
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE';
|
||||||
add_header 'Access-Control-Allow-Headers', 'Content-Type'
|
add_header 'Access-Control-Allow-Headers' 'Content-Type';
|
||||||
# cache CORS for 24 hours
|
# cache CORS for 24 hours
|
||||||
add_header 'Access-Control-Max-Age' 86400;
|
add_header 'Access-Control-Max-Age' 86400;
|
||||||
# return empty response for preflight
|
# return empty response for preflight
|
||||||
|
|||||||
Reference in New Issue
Block a user