Fixes bug in prev commit.

This commit is contained in:
Qiu Yuzhou
2018-03-28 10:23:15 +08:00
parent 385e56dca4
commit f9c2c1c44a

View File

@ -320,6 +320,7 @@ class ServerProfile: NSObject, NSCopying {
guard let rawUserInfo = "\(method):\(password)".data(using: .utf8) else {
return nil
}
let userInfo = rawUserInfo.base64EncodedString()
var items = [URLQueryItem(name: "OTA", value: ota.description)]
if enabledKcptun {