]> git.openstreetmap.org Git - nominatim-ui.git/commitdiff
use https URLs
authormarc tobias <mtmail@gmx.net>
Sat, 30 Nov 2019 10:18:18 +0000 (11:18 +0100)
committermarc tobias <mtmail@gmx.net>
Sat, 30 Nov 2019 10:18:18 +0000 (11:18 +0100)
src/assets/js/detailpage.js
src/assets/js/searchpage.js
src/layout.html
src/templates/searchpage.hbs

index 301b725391ff8ecaa074a66bfe757e30b1fa5f1a..49ec9812fe9facfe337820687eb727b5b95a4864 100644 (file)
@@ -15,7 +15,7 @@ function init_map_on_detail_page(lat, lon, geojson) {
 
     L.tileLayer(get_config_value('Map_Tile_URL'), {
         // moved to footer
-        attribution: (get_config_value('Map_Tile_Attribution') || null ) //'&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
+        attribution: (get_config_value('Map_Tile_Attribution') || null ) //'&copy; <a href="https://osm.org/copyright">OpenStreetMap</a> contributors'
     }).addTo(map);
 
     var layerGroup = new L.layerGroup().addTo(map);
@@ -25,7 +25,7 @@ function init_map_on_detail_page(lat, lon, geojson) {
 
     if (geojson) {
         var geojson_layer = L.geoJson(
-            // http://leafletjs.com/reference-1.0.3.html#path-option
+            // https://leafletjs.com/reference-1.0.3.html#path-option
             parse_and_normalize_geojson_string(geojson),
             {
                 style: function(feature) {
index 8df5fe09ef9bf367a61ab607c27ad7137bb0ddeb..a5394229580bdd57a00bbbc09b923d008e54e6c3 100755 (executable)
@@ -48,7 +48,7 @@ function init_map_on_search_page(is_reverse_search, nominatim_results, request_l
     L.tileLayer(get_config_value('Map_Tile_URL'), {
         noWrap: true, // otherwise we end up with click coordinates like latitude -728
         // moved to footer
-        attribution: (get_config_value('Map_Tile_Attribution') || null ) //'&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
+        attribution: (get_config_value('Map_Tile_Attribution') || null ) //'&copy; <a href="https://osm.org/copyright">OpenStreetMap</a> contributors'
     }).addTo(map);
 
     // console.log(Nominatim_Config);
@@ -163,7 +163,7 @@ function init_map_on_search_page(is_reverse_search, nominatim_results, request_l
                 var geojson_layer = L.geoJson(
                     parse_and_normalize_geojson_string(result.geojson),
                     {
-                        // http://leafletjs.com/reference-1.0.3.html#path-option
+                        // https://leafletjs.com/reference-1.0.3.html#path-option
                         style: function(feature) {
                             return { interactive: false, color: 'blue' }; 
                         }
index 9e23e746067f5c3bfc7d4a5baaf44e47222fea81..f0fcdd52453e2d7e2ed458e7db7309656db611f2 100644 (file)
@@ -43,8 +43,8 @@
                         About &amp; Help <span class="caret"></span>
                     </button>
                     <ul class="dropdown-menu dropdown-menu-right">
-                        <li><a href="http://wiki.openstreetmap.org/wiki/Nominatim" target="_blank">Documentation</a></li>
-                        <li><a href="http://wiki.openstreetmap.org/wiki/Nominatim/FAQ" target="_blank">FAQ</a></li>
+                        <li><a href="https://wiki.openstreetmap.org/wiki/Nominatim" target="_blank">Documentation</a></li>
+                        <li><a href="https://wiki.openstreetmap.org/wiki/Nominatim/FAQ" target="_blank">FAQ</a></li>
                         <li role="separator" class="divider"></li>
                         <li><a href="#" class="" data-toggle="modal" data-target="#report-modal">Report problem with results</a></li>
                     </ul>
@@ -62,9 +62,9 @@
                 </div>
                 <div class="modal-body">
                     <p>
-                        Before reporting problems please read the <a target="_blank" href="http://wiki.openstreetmap.org/wiki/Nominatim">user documentation</a>
+                        Before reporting problems please read the <a target="_blank" href="https://wiki.openstreetmap.org/wiki/Nominatim">user documentation</a>
                         and
-                        <a target="_blank" href="http://wiki.openstreetmap.org/wiki/Nominatim/FAQ">FAQ</a>.
+                        <a target="_blank" href="https://wiki.openstreetmap.org/wiki/Nominatim/FAQ">FAQ</a>.
 
                         If your problem relates to the address of a particular search result please use the 'details' link 
                         to check how the address was generated before reporting a problem.
@@ -98,7 +98,7 @@
             Addresses and postcodes are approximate
         </p>
         <p class="copyright">
-            &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors
+            &copy; <a href="https://osm.org/copyright">OpenStreetMap</a> contributors
         </p>
     </footer>
 
index 7f574b0d7ff0a55728a391b9e050259940fdee28..65e8bada4c009bf46d6777ad82d04980b6eadbec 100644 (file)
         <div id="intro" class="sidebar">
             <h2>Welcome to Nominatim</h2>
 
-            <p>Nominatim is a search engine for <a href="http://www.openstreetmap.org">OpenStreetMap</a>
+            <p>Nominatim is a search engine for <a href="https://www.openstreetmap.org">OpenStreetMap</a>
             data. This is the debugging interface. You may search for a name or address(forward search) or
             look up data by its geographic coordinate(reverse search). Each result comes with a
             link to a details page where you can inspect what data about the object is saved in 
             the database and investigate how the address of the object has been computed.</p>
 
-            For more information visit the <a href="http://wiki.openstreetmap.org/wiki/Nominatim">Nominatim wiki page</a>.
+            For more information visit the <a href="https://wiki.openstreetmap.org/wiki/Nominatim">Nominatim wiki page</a>.
         </div>
 
     {{/if}}