X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1ecf13d8461b2b0c597ba8b6492f6ffd973c61a0..85d8a2d17702b73620cbc3b907fd84fdf6ec1545:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index a7dbd15e3..344c43273 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -36,7 +36,7 @@ function init(){ OpenLayers.Util.onImageLoadError = function() { - this.src = "http://www.openstreetmap.org/javascript/img/404.png"; + this.src = "http://<%= SERVER_URL %>/javascript/img/404.png"; } map = new OpenLayers.Map( "map", {maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), maxResolution:156543, units:'meters', projection: "EPSG:41001"} );