Always use http to talk to josm
See discussion in #2445 and resulting conclusion that JOSM no longer even listens on the https port. Closes #2446
This commit is contained in:
parent
cd0254d148
commit
7e390ec89b
1 changed files with 2 additions and 8 deletions
|
@ -24,8 +24,7 @@
|
|||
//= require querystring
|
||||
|
||||
$(document).ready(function () {
|
||||
var querystring = require("querystring-component"),
|
||||
browser = bowser.getParser(window.navigator.userAgent);
|
||||
var querystring = require("querystring-component");
|
||||
|
||||
var loaderTimeout;
|
||||
|
||||
|
@ -256,12 +255,7 @@ $(document).ready(function () {
|
|||
bottom: bbox.getSouth() - 0.0001
|
||||
};
|
||||
|
||||
if (location.protocol === "http" ||
|
||||
browser.satisfies({ chrome: ">=53", firefox: ">=55" })) {
|
||||
url = "http://127.0.0.1:8111/load_and_zoom?";
|
||||
} else {
|
||||
url = "https://127.0.0.1:8112/load_and_zoom?";
|
||||
}
|
||||
|
||||
if (object) query.select = object.type + object.id;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue