From d9e2751a4fbb4247d203901bc76f4f01d13c08d4 Mon Sep 17 00:00:00 2001 From: Sirttas Date: Wed, 26 Jul 2023 14:23:04 +0200 Subject: [PATCH] fix conf --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index ea63e75..c269a61 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,4 +1,4 @@ -server { +location / { add_header 'Access-Control-Allow-Origin' 'https://api.eveal.shendai.rip,https://evepraisal.shendai.rip' always; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always; add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;