Update path to asset

This commit is contained in:
vishnukvmd 2024-01-23 21:00:02 +05:30
parent dba2480339
commit 645db9dc01
2 changed files with 1 additions and 2 deletions

View file

@ -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'];

View file

@ -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';