line.gsub!(/^( *)nominatim_url:.*$/, "\\1nominatim_url: \"#{params[:nominatim_url]}\"")
end
+ if params[:osrm_url]
+ line.gsub!(/^( *)osrm_url:.*$/, "\\1osrm_url: \"#{params[:osrm_url]}\"")
+ end
+
if params[:google_auth_id]
line.gsub!(/^( *)#google_auth_id:.*$/, "\\1google_auth_id: \"#{params[:google_auth_id]}\"")
line.gsub!(/^( *)#google_auth_secret:.*$/, "\\1google_auth_secret: \"#{params[:google_auth_secret]}\"")
windowslive_auth_id "0000000040153C51"
windowslive_auth_secret web_passwords["windowslive_auth_secret"]
mapzen_valhalla_key web_passwords["mapzen_valhalla_key"]
+ osrm_url "//api-osrm-routed-production.tilestream.net/viaroute"
end
package "libjson-xs-perl"