mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-08 21:47:17 +08:00
bug fix:Delete websocket's Port restrictions
This commit is contained in:
parent
076270400e
commit
f245afb220
@ -143,9 +143,6 @@ func NewWsServer(opts ...Option) (*WsServer, error) {
|
||||
for _, o := range opts {
|
||||
o(&config)
|
||||
}
|
||||
if config.port < 1024 {
|
||||
return nil, errors.New("port not allow to listen")
|
||||
}
|
||||
v := validator.New()
|
||||
return &WsServer{
|
||||
port: config.port,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user