Send changeset uploads to cgimap for dev apis
authorTom Hughes <tom@compton.nu>
Sun, 16 Sep 2018 21:27:42 +0000 (22:27 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 16 Sep 2018 21:27:42 +0000 (22:27 +0100)
cookbooks/dev/templates/default/apache.rails.erb

index edd8a94..ab9cffb 100644 (file)
@@ -44,7 +44,7 @@
         RewriteRule ^/api/0\.6/(node|way|relation)/[0-9]+/history$ fcgi://127.0.0.1:<%= @cgimap_port %>$0 [P]
         RewriteRule ^/api/0\.6/(way|relation)/[0-9]+/full$ fcgi://127.0.0.1:<%= @cgimap_port %>$0 [P]
         RewriteRule ^/api/0\.6/(nodes|ways|relations)$ fcgi://127.0.0.1:<%= @cgimap_port %>$0 [P]
-        RewriteRule ^/api/0\.6/changeset/[0-9]+/download$ fcgi://127.0.0.1:<%= @cgimap_port %>$0 [P]
+        RewriteRule ^/api/0\.6/changeset/[0-9]+/(upload|download)$ fcgi://127.0.0.1:<%= @cgimap_port %>$0 [P]
 <% end -%>
 </VirtualHost>