mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 11:09:21 +03:00
fix(mobile): duplicate server urls returned (#26864)
remove server url Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
@@ -176,10 +176,6 @@ class ApiService {
|
|||||||
if (serverEndpoint != null && serverEndpoint.isNotEmpty) {
|
if (serverEndpoint != null && serverEndpoint.isNotEmpty) {
|
||||||
urls.add(serverEndpoint);
|
urls.add(serverEndpoint);
|
||||||
}
|
}
|
||||||
final serverUrl = Store.tryGet(StoreKey.serverUrl);
|
|
||||||
if (serverUrl != null && serverUrl.isNotEmpty) {
|
|
||||||
urls.add(serverUrl);
|
|
||||||
}
|
|
||||||
final localEndpoint = Store.tryGet(StoreKey.localEndpoint);
|
final localEndpoint = Store.tryGet(StoreKey.localEndpoint);
|
||||||
if (localEndpoint != null && localEndpoint.isNotEmpty) {
|
if (localEndpoint != null && localEndpoint.isNotEmpty) {
|
||||||
urls.add(localEndpoint);
|
urls.add(localEndpoint);
|
||||||
|
|||||||
Reference in New Issue
Block a user