Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update path to asset

vishnukvmd645db9dc01fa
diff --git a/apps/photos/src/services/locationSearchService.ts b/apps/photos/src/services/locationSearchService.ts
index 48d28654a3..c3d63db782 100644
--- a/apps/photos/src/services/locationSearchService.ts
+++ b/apps/photos/src/services/locationSearchService.ts
@@ -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'];
diff --git a/packages/shared/constants/urls.ts b/packages/shared/constants/urls.ts
index 65d961ddd7..122785cf59 100644
--- a/packages/shared/constants/urls.ts
+++ b/packages/shared/constants/urls.ts
@@ -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';