]> git.openstreetmap.org Git - rails.git/commitdiff
Use render.openstreetmap.org for mapnik exports
authorTom Hughes <tom@compton.nu>
Mon, 12 Aug 2013 16:50:06 +0000 (17:50 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 12 Aug 2013 16:50:06 +0000 (17:50 +0100)
app/controllers/export_controller.rb

index 074a92ce82635a50e1bbc5ac5eb8ed960de7d347..b37810ca90df2f616ce58a418021ad96a1f90a90 100644 (file)
@@ -22,7 +22,7 @@ class ExportController < ApplicationController
       format = params[:mapnik_format]
       scale = params[:mapnik_scale]
 
-      redirect_to "http://parent.tile.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}"
+      redirect_to "http://render.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}"
     end
   end