Stop using websockets by default for now

sync3
Laurent 6 months ago
parent 768b185c0a
commit 661edd3534
  1. 4
      PadelClub/AppDelegate.swift

@ -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)

Loading…
Cancel
Save