High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): duplicate server urls returned (#26864)
Mertff936f901d0f
diff --git a/mobile/lib/services/api.service.dart b/mobile/lib/services/api.service.dartindex bc5e46f769..e296ac522d 100644--- a/mobile/lib/services/api.service.dart+++ b/mobile/lib/services/api.service.dart@@ -176,10 +176,6 @@ class ApiService {if (serverEndpoint != null && serverEndpoint.isNotEmpty) {urls.add(serverEndpoint);}- final serverUrl = Store.tryGet(StoreKey.serverUrl);- if (serverUrl != null && serverUrl.isNotEmpty) {- urls.add(serverUrl);- }final localEndpoint = Store.tryGet(StoreKey.localEndpoint);if (localEndpoint != null && localEndpoint.isNotEmpty) {urls.add(localEndpoint);