diff --git a/slippymap.html b/slippymap.html
index 307349c..52b684d 100644
--- a/slippymap.html
+++ b/slippymap.html
@@ -41,7 +41,7 @@
} );
// This is the layer that uses the locally stored tiles
- var newLayer = new OpenLayers.Layer.OSM("Local Tiles", "http://localhost/osm/${z}/${x}/${y}.png", {numZoomLevels: 19});
+ var newLayer = new OpenLayers.Layer.OSM("Local Tiles", "${z}/${x}/${y}.png", {numZoomLevels: 19});
map.addLayer(newLayer);
layerMapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik");