Fetch OpenLayers from the same server as the embed page
authorTom Hughes <tom@compton.nu>
Fri, 30 Dec 2011 18:40:27 +0000 (18:40 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 30 Dec 2011 18:40:27 +0000 (18:40 +0000)
public/export/embed.html

index bba6702..43678db 100644 (file)
@@ -20,8 +20,8 @@
             bottom: 3px!important;
         }
     </style>
             bottom: 3px!important;
         }
     </style>
-    <script src="http://openstreetmap.org/openlayers/OpenLayers.js" type="text/javascript"></script>
-    <script src="http://openstreetmap.org/openlayers/OpenStreetMap.js" type="text/javascript"></script>
+    <script src="/openlayers/OpenLayers.js" type="text/javascript"></script>
+    <script src="/openlayers/OpenStreetMap.js" type="text/javascript"></script>
     <script type="text/javascript">
     <!--
         var map, layer;
     <script type="text/javascript">
     <!--
         var map, layer;