π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: endpoint in network.dart
Prateek Sunale1b1d5771423
diff --git a/auth/lib/core/network.dart b/auth/lib/core/network.dartindex f12172891a..c14c9e758b 100644--- a/auth/lib/core/network.dart+++ b/auth/lib/core/network.dart@@ -21,6 +21,7 @@ class Network {final packageInfo = await PackageInfoUtil().getPackageInfo();final version = PackageInfoUtil().getVersion(packageInfo);final packageName = PackageInfoUtil().getPackageName(packageInfo);+ final endpoint = Configuration.instance.getHttpEndpoint();_dio = Dio(BaseOptions(@@ -37,7 +38,7 @@ class Network {_enteDio = Dio(BaseOptions(- baseUrl: Configuration.endpoint,+ baseUrl: endpoint,connectTimeout: Duration(milliseconds: kConnectTimeout),headers: {if (PlatformUtil.isMobile())@@ -49,7 +50,7 @@ class Network {},),);- _setupInterceptors(Configuration.endpoint);+ _setupInterceptors(endpoint);Bus.instance.on<EndpointUpdatedEvent>().listen((event) {final endpoint = Configuration.instance.getHttpEndpoint();