mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Always access OSM over https now
If you were logged in before, you might need to logout with `id.connection().logout()` or delete the OAuth data from localStorage
This commit is contained in:
@@ -9,9 +9,7 @@ import { utilDetect } from '../util/detect';
|
||||
import { utilRebind } from '../util/rebind';
|
||||
|
||||
var dispatch = d3.dispatch('authLoading', 'authDone', 'change', 'loading', 'loaded'),
|
||||
useHttps = window.location.protocol === 'https:',
|
||||
protocol = useHttps ? 'https:' : 'http:',
|
||||
urlroot = protocol + '//www.openstreetmap.org',
|
||||
urlroot = 'https://www.openstreetmap.org',
|
||||
blacklists = ['.*\.google(apis)?\..*/(vt|kh)[\?/].*([xyz]=.*){3}.*'],
|
||||
inflight = {},
|
||||
loadedTiles = {},
|
||||
|
||||
Reference in New Issue
Block a user