fix insert invoked twice

This commit is contained in:
slidoooor 2018-01-10 13:21:30 +08:00
parent 1025c80ef5
commit fa7fcc8c3b

View File

@ -139,8 +139,6 @@ open class SocketManager : NSObject, SocketManagerSpec, SocketParsable, SocketDa
self._config.insert(.secure(true))
}
self._config.insert(.path("/socket.io/"), replacing: false)
super.init()
setConfigs(_config)