fixed nginx CORS config

This commit is contained in:
renevoorburg
2023-11-29 15:54:44 -05:00
committed by emma
parent 7d013f194d
commit cbdaea2885
+1 -1
View File
@@ -106,7 +106,7 @@ location / {
if ($request_method = 'OPTIONS') { if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' 'https://replayweb.page'; add_header 'Access-Control-Allow-Origin' 'https://replayweb.page';
add_header 'Access-Control-Allow-Methods' 'GET, HEAD, OPTIONS' always; add_header 'Access-Control-Allow-Methods' 'GET, HEAD, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' '*' add_header 'Access-Control-Allow-Headers' '*' ;
return 204; return 204;
} }