fix nsp for default
This commit is contained in:
parent
c4731dc298
commit
81d58fbd69
@ -104,7 +104,7 @@ public class SocketIOClient: NSObject, SocketEngineClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if var nsp = opts!["nsp"] as? String {
|
if var nsp = opts!["nsp"] as? String {
|
||||||
if nsp.hasPrefix("/") {
|
if nsp != "/" && nsp.hasPrefix("/") {
|
||||||
nsp.removeAtIndex(nsp.startIndex)
|
nsp.removeAtIndex(nsp.startIndex)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user