|
|
|
@ -4,11 +4,11 @@ import PromiseKit
|
|
|
|
public final class LokiStorageAPI : LokiDotNetAPI {
|
|
|
|
public final class LokiStorageAPI : LokiDotNetAPI {
|
|
|
|
|
|
|
|
|
|
|
|
// MARK: Settings
|
|
|
|
// MARK: Settings
|
|
|
|
// #if DEBUG
|
|
|
|
#if DEBUG
|
|
|
|
// private static let server = "http://file-dev.lokinet.org"
|
|
|
|
@objc public static let server = "http://file-dev.lokinet.org"
|
|
|
|
// #else
|
|
|
|
#else
|
|
|
|
@objc public static let server = "https://file.getsession.org"
|
|
|
|
@objc public static let server = "https://file.getsession.org"
|
|
|
|
// #endif
|
|
|
|
#endif
|
|
|
|
private static let deviceLinkType = "network.loki.messenger.devicemapping"
|
|
|
|
private static let deviceLinkType = "network.loki.messenger.devicemapping"
|
|
|
|
private static let attachmentType = "net.app.core.oembed"
|
|
|
|
private static let attachmentType = "net.app.core.oembed"
|
|
|
|
|
|
|
|
|
|
|
|
|