Skip to content

Commit

Permalink
work around http-everywhere issues in firefox, #165
Browse files Browse the repository at this point in the history
by hardcoding https protocol for nominatim XHR requests
  • Loading branch information
tyrasd committed May 18, 2015
1 parent e248008 commit 53def7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/nominatim.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ turbo.nominatim = function() {

function request(search, callback) {
// ajax (GET) request to nominatim
$.ajax("//nominatim.openstreetmap.org/search"+"?X-Requested-With="+configs.appname, {
$.ajax("https://nominatim.openstreetmap.org/search"+"?X-Requested-With="+configs.appname, {
data:{
format:"json",
q: search
Expand Down

0 comments on commit 53def7f

Please sign in to comment.