X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f053c8472336b386eaff72acdcdb8f8e148a3340..d6a1ccf6b42b3eaaffe9fa417eeb4e6f56b5cdac:/app/views/browse/start.rjs diff --git a/app/views/browse/start.rjs b/app/views/browse/start.rjs index 04f5e12c9..f38b1dc80 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()); } } @@ -215,16 +215,16 @@ page << <