|
|
|
|
@ -35,9 +35,9 @@ class AppDelegate : NSObject, UIApplicationDelegate, UNUserNotificationCenterDel |
|
|
|
|
#if DEBUG |
|
|
|
|
if let secure = PListReader.readBool(plist: "local", key: "secure_server"), |
|
|
|
|
let domain = PListReader.readString(plist: "local", key: "server_domain") { |
|
|
|
|
StoreCenter.main.configureURLs(secureScheme: secure, domain: domain) |
|
|
|
|
StoreCenter.main.configureURLs(secureScheme: secure, domain: domain, webSockets: false) |
|
|
|
|
} else { |
|
|
|
|
StoreCenter.main.configureURLs(secureScheme: true, domain: domain) |
|
|
|
|
StoreCenter.main.configureURLs(secureScheme: true, domain: domain, webSockets: false) |
|
|
|
|
} |
|
|
|
|
#else |
|
|
|
|
StoreCenter.main.configureURLs(secureScheme: true, domain: domain) |
|
|
|
|
|