From 8a108732b58fe598e13930f9644341fe919b8c44 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 27 Sep 2021 08:34:46 +0200 Subject: [PATCH] nominatim: also send CORS headers for 404 responses --- cookbooks/nominatim/templates/default/nginx.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/nominatim/templates/default/nginx.erb b/cookbooks/nominatim/templates/default/nginx.erb index dc8b54a9a..941051d95 100644 --- a/cookbooks/nominatim/templates/default/nginx.erb +++ b/cookbooks/nominatim/templates/default/nginx.erb @@ -170,7 +170,7 @@ server { } location /qa-data/ { - add_header Access-Control-Allow-Origin "*"; + add_header Access-Control-Allow-Origin "*" always; } location @php { -- 2.39.5