]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/export_controller.rb
Using javascript and data attribute instead of inline css
[rails.git] / app / controllers / export_controller.rb
index 1b7beaad696dd8ca3503babaa26e67748a70e511..afdf4d8d7e38005f89c310d2f8bf9f0033d84cbb 100644 (file)
@@ -19,7 +19,7 @@ class ExportController < ApplicationController
       format = params[:mapnik_format]
       scale = params[:mapnik_scale]
 
-      redirect_to "http://render.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}"
+      redirect_to "https://render.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}"
     end
   end