forked from MapComplete/MapComplete
Fix: fixes to etymology: load wikidata on mobile (which uses m.wikidata.org, tripping the CSP); fix 'upload image of the streetsign' parameters
This commit is contained in:
parent
bc37deafb5
commit
480956d45d
6 changed files with 15 additions and 7 deletions
|
@ -127,6 +127,7 @@ export default class Wikidata {
|
|||
"https://www.wikidata.org/",
|
||||
"https://wikidata.org/",
|
||||
"https://query.wikidata.org",
|
||||
"https://m.wikidata.org", // Important: a mobile browser will request m.wikidata.org instead of www.wikidata.org ; this URL needs to be listed for the CSP
|
||||
]
|
||||
private static readonly _identifierPrefixes = ["Q", "L"].map((str) => str.toLowerCase())
|
||||
private static readonly _prefixesToRemove = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue