forked from MapComplete/MapComplete
Chore: fix warnings
This commit is contained in:
parent
ab70c6adc0
commit
47ae4cb456
38 changed files with 49 additions and 90 deletions
|
@ -80,7 +80,6 @@ export class WikimediaImageProvider extends ImageProvider {
|
|||
}
|
||||
|
||||
public PrepUrl(value: string): ProvidedImage {
|
||||
const hasCommonsPrefix = WikimediaImageProvider.startsWithCommonsPrefix(value)
|
||||
value = WikimediaImageProvider.removeCommonsPrefix(value)
|
||||
|
||||
if (value.startsWith("File:")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue