diff --git a/ios/Runner/Services/CloudFile.swift b/ios/Runner/Services/CloudFile.swift index 73d6da93..fd78e2c4 100644 --- a/ios/Runner/Services/CloudFile.swift +++ b/ios/Runner/Services/CloudFile.swift @@ -8,7 +8,7 @@ import Foundation func getAttachmentUrl(for identifier: String) -> String { - let serverBaseUrl = "https://api.solian.app" + let serverBaseUrl = getServerUrl() return identifier.starts(with: "http") ? identifier : "\(serverBaseUrl)/drive/files/\(identifier)" } diff --git a/ios/Runner/Services/DataExchange.swift b/ios/Runner/Services/DataExchange.swift index 6cb7631d..3a7d8af8 100644 --- a/ios/Runner/Services/DataExchange.swift +++ b/ios/Runner/Services/DataExchange.swift @@ -26,6 +26,6 @@ extension UserDefaults { } func getServerUrl(forKey key: String = "app_server_url") -> String { - return self.getFlutterValue(forKey: key) ?? "https://nt.solian.app" + return self.getFlutterValue(forKey: key) ?? "https://api.solian.app" } } diff --git a/pubspec.yaml b/pubspec.yaml index 8bd10d61..89ec951c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 3.3.0+137 +version: 3.3.0+138 environment: sdk: ^3.7.2