Move country coder endpoint config into 'Constants'

This commit is contained in:
Pieter Vander Vennet 2022-04-28 00:29:22 +02:00
parent 14956e229c
commit c202ba606b
2 changed files with 4 additions and 2 deletions

View file

@ -69,6 +69,7 @@ export default class Constants {
* In seconds
*/
static zoomToLocationTimeout = 60;
static countryCoderEndpoint: string = "https://raw.githubusercontent.com/pietervdvn/MapComplete-data/main/latlon2country";
private static isRetina(): boolean {
if (Utils.runningFromConsole) {