X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/08d1f5aaab193054c465ebda62ae82d97a1125be..0e5e08a96e62a7bc058ac1cf87f5808f06988bb4:/app/views/browse/start.rjs diff --git a/app/views/browse/start.rjs b/app/views/browse/start.rjs index f22796afe..1cf423163 100644 --- a/app/views/browse/start.rjs +++ b/app/views/browse/start.rjs @@ -15,6 +15,8 @@ page << < 0.25) { setStatus("Unable to load: Bounding box size of " + size + " is too large (must be smaller than 0.25)"); } else { - loadGML("/api/0.5/map?bbox=" + projected.toBBOX()); + loadGML("/api/#{API_VERSION}/map?bbox=" + projected.toBBOX()); } } @@ -210,7 +210,10 @@ page << <