]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.rhtml
- replaced hardcoded www.openstreetmap.org with environment variable
[rails.git] / app / views / site / index.rhtml
index a7dbd15e3cb972f7b5cdca470a54ce08951e2838..344c43273e052008c06a70bc4392920230e87740 100644 (file)
@@ -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"} );