From: Tom Hughes Date: Mon, 20 Oct 2014 18:14:30 +0000 (+0100) Subject: Disable setting of Access-Control-Allow-Origin by taginfo X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/d6161fd4435afd4b243e08ca1e2c75009fea396d Disable setting of Access-Control-Allow-Origin by taginfo --- diff --git a/cookbooks/taginfo/recipes/default.rb b/cookbooks/taginfo/recipes/default.rb index 4fdcb933e..6c0062f99 100644 --- a/cookbooks/taginfo/recipes/default.rb +++ b/cookbooks/taginfo/recipes/default.rb @@ -112,6 +112,7 @@ node[:taginfo][:sites].each do |site| settings["instance"]["about"] = about settings["instance"]["icon"] = "/img/logo/#{icon}.png" settings["instance"]["contact"] = contact + settings["instance"]["access_control_allow_origin"] = "" settings["logging"]["directory"] = "/var/log/taginfo/#{name}" settings["opensearch"]["shortname"] = "Taginfo" settings["opensearch"]["contact"] = "webmaster@openstreetmap.org"