Update path to asset
This commit is contained in:
parent
dba2480339
commit
645db9dc01
2 changed files with 1 additions and 2 deletions
|
@ -20,7 +20,6 @@ class LocationSearchService {
|
|||
if (this.citiesPromise) {
|
||||
return;
|
||||
}
|
||||
// TODO: Ensure the response is cached on the client
|
||||
this.citiesPromise = fetch(CITIES_URL).then((response) => {
|
||||
return response.json().then((data) => {
|
||||
this.cities = data['data'];
|
||||
|
|
|
@ -18,4 +18,4 @@ export const WEB_ROADMAP_URL = 'https://github.com/ente-io/photos-web/issues';
|
|||
export const DESKTOP_ROADMAP_URL =
|
||||
'https://github.com/ente-io/photos-desktop/issues';
|
||||
|
||||
export const CITIES_URL = 'https://assets.ente.io/world_cities.json';
|
||||
export const CITIES_URL = 'https://static.ente.io/world_cities.json';
|
||||
|
|
Loading…
Add table
Reference in a new issue