X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/63c2d9a5292e6b19a02bce9fdf80f93dea8a8347..a68b8651d5bbc5af51eefc4759f6e28b75ecedf5:/app/views/browse/start.rjs diff --git a/app/views/browse/start.rjs b/app/views/browse/start.rjs index c17325ad1..f38b1dc80 100644 --- a/app/views/browse/start.rjs +++ b/app/views/browse/start.rjs @@ -189,7 +189,7 @@ 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()); } } @@ -393,7 +393,7 @@ page << <