From 7a9b0d3cb83b44428d876b9f8e5517405d3c9c92 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Sun, 17 Mar 2024 19:34:18 +0000 Subject: [PATCH] Update default.conf --- default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.conf b/default.conf index 81287bc..8cc7a28 100644 --- a/default.conf +++ b/default.conf @@ -164,13 +164,13 @@ server { if ($request_method = OPTIONS) { add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Credentials true always; - add_header Access-Control-Allow-Headers content-type,authorization always; + add_header Access-Control-Allow-Headers content-type,authorization,device,browser,os,devicetype always; add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; return 200; } add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Credentials true always; - add_header Access-Control-Allow-Headers content-type,authorization always; + add_header Access-Control-Allow-Headers content-type,authorization,device,browser,os,devicetype always; add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; proxy_pass http://10.6.0.23:1488/; }