Use parent.tile.openstreetmap.org for the export URL

This commit is contained in:
Tom Hughes 2011-09-08 11:47:00 +01:00
parent 69d02c624f
commit 9793e4fb7f

View file

@ -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