]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/query.js
Convert various URLs to https
[rails.git] / app / assets / javascripts / index / query.js
index 7ac613d71ec1737e2d80088ad5f3c0e29d177868..3a23993a6b6a970fc2f14cd1e347c9c77624fdfa 100644 (file)
@@ -2,7 +2,7 @@
 
 OSM.Query = function(map) {
   var protocol = document.location.protocol === "https:" ? "https:" : "http:",
-    url = protocol + OSM.OVERPASS_URL,
+    url = OSM.OVERPASS_URL,
     queryButton = $(".control-query .control-button"),
     uninterestingTags = ['source', 'source_ref', 'source:ref', 'history', 'attribution', 'created_by', 'tiger:county', 'tiger:tlid', 'tiger:upload_uuid', 'KSJ2:curve_id', 'KSJ2:lat', 'KSJ2:lon', 'KSJ2:coordinate', 'KSJ2:filename', 'note:ja'],
     marker;