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**