From 3644e1332c96b26b126b406aba9aade03e0762f6 Mon Sep 17 00:00:00 2001 From: primakov alexandr Date: Tue, 8 Jun 2021 09:33:49 +0300 Subject: [PATCH] cors --- 80.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/80.conf b/80.conf index c765e86..05f786e 100644 --- a/80.conf +++ b/80.conf @@ -11,7 +11,7 @@ server { } location /api { - add_header 'Access-Control-Allow-Origin' '*'; + # add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';