From: Tom Hughes Date: Thu, 8 Sep 2011 10:47:00 +0000 (+0100) Subject: Use parent.tile.openstreetmap.org for the export URL X-Git-Tag: live~6728 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9793e4fb7f6503beab0efe1576f3e13dbf350f30 Use parent.tile.openstreetmap.org for the export URL --- diff --git a/app/controllers/export_controller.rb b/app/controllers/export_controller.rb index b75fb1bca..225ddf86b 100644 --- a/app/controllers/export_controller.rb +++ b/app/controllers/export_controller.rb @@ -20,7 +20,7 @@ class ExportController < ApplicationController format = params[:mapnik_format] scale = params[:mapnik_scale] - redirect_to "http://tile.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}" + redirect_to "http://parent.tile.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}" elsif format == "osmarender" #redirect to the t@h 'MapOf' service