chore: 修改 Socket.io Server 初始化参数
This commit is contained in:
@@ -62,7 +62,7 @@ const httpServer: HttpServerLike = (
|
|||||||
http.createServer(app)
|
http.createServer(app)
|
||||||
)
|
)
|
||||||
const io = new SocketIo.Server(httpServer, {
|
const io = new SocketIo.Server(httpServer, {
|
||||||
maxHttpBufferSize: 1e114514,
|
transports: ["polling", "websocket", "webtransport"],
|
||||||
})
|
})
|
||||||
|
|
||||||
ApiManager.initServer(httpServer, io)
|
ApiManager.initServer(httpServer, io)
|
||||||
|
|||||||
Reference in New Issue
Block a user