From 99bd87db24a2b2fce072f9c681a600b986cc914f Mon Sep 17 00:00:00 2001 From: Chatewgne Date: Tue, 17 Sep 2024 18:37:37 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20[BUG]=20Change=20default=20CORS?= =?UTF-8?q?=20configuration=20to=20'always'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/nginx.conf.in | 2 +- docs/changelog.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf.in b/conf/nginx.conf.in index 18bbb2b093..a2476d7221 100644 --- a/conf/nginx.conf.in +++ b/conf/nginx.conf.in @@ -74,7 +74,7 @@ server { location ~ ^/api { proxy_pass http://api_server; proxy_read_timeout ${TIMEOUT}s; - add_header Access-Control-Allow-Origin ${DOLLAR}allow_origin; + add_header Access-Control-Allow-Origin ${DOLLAR}allow_origin always; } proxy_pass http://ui_server; diff --git a/docs/changelog.rst b/docs/changelog.rst index bc8e40b863..15495e5c2b 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -25,6 +25,8 @@ CHANGELOG - ApidaeTrekParser now handles missing source website - Fix Aggregator does not retrieve unpublished Tour Steps (#3569)" - Fix missing Annotation Categories in APIv2 for annotations other than Points (#4032)" +- Change default CORS configuration to 'always' : see https://github.com/GeotrekCE/Geotrek-rando-v3/issues/1257 + **Documentation**