]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dns/templates/default/zone.html.erb
Load javascript resources over https
[chef.git] / cookbooks / dns / templates / default / zone.html.erb
index 792b65ca0210d415aa055269e310d76adecab7e2..72d4d598d8ec98b27367007e4ce3077dbaef0a37 100644 (file)
@@ -4,12 +4,9 @@
     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
     <title>GeoDNS - <%= @zone %></title>
     <link rel="stylesheet" href="dns.css" type="text/css" media="all" />
-    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.css" />
-    <!--[if lte IE 8]>
-    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.ie.css" />
-    <![endif]-->
-    <script type="text/javascript" src="http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.js"></script>
-    <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
+    <link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css" />
+    <script type="text/javascript" src="https://unpkg.com/leaflet@1.0.3/dist/leaflet.js"></script>
+    <script type="text/javascript" src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
     <script type="text/javascript" src="dns.js"></script>
   </head>
   <body onload="createMap('map', 'json/<%= @zone %>.json')">