config: disable overpass proxy probe by default
This commit is contained in:
1 parent
c0c612c0cc
commit
5ce027fd5d
2 files changed
+9
No files matched your search
Vendored
+1
@@ -3199,6 +3199,7 @@ function opProbeProxy() {
|
||||
if (_opProxyChecked) return;
|
||||
_opProxyChecked = true;
|
||||
if (location.protocol === 'file:') return;
|
||||
if (!(window.CONFIG && window.CONFIG.overpass && window.CONFIG.overpass.useProxy)) return;
|
||||
fetch(OP_PROXY[0], {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||
|
||||
Reference in new issue
Block a user