Use different overpass server for taginfo level0 link.
authorJochen Topf <jochen@topf.org>
Tue, 2 Jun 2015 19:37:44 +0000 (21:37 +0200)
committerJochen Topf <jochen@topf.org>
Tue, 2 Jun 2015 19:37:44 +0000 (21:37 +0200)
See https://github.com/joto/taginfo/issues/133

cookbooks/taginfo/recipes/default.rb

index db09f48f15e66be424c3414401d9715cc4da439a..396b5edf9072b31fa9fe8d3f51551931aad5ad7e 100644 (file)
@@ -132,6 +132,7 @@ node[:taginfo][:sites].each do |site|
     settings["tagstats"]["cxxflags"] = "-I../../osmium/include"
     settings["tagstats"]["geodistribution"] = "MmapAnon"
     settings["user_interface"]["key_page"]["show_tab_similar"] = true
+    settings["level0"]["overpass_url_prefix"] = 'http://overpass-api.de/api/interpreter?'
 
     JSON.pretty_generate(settings)
   end