chore: socket.io的transports默认只使用websocket
This commit is contained in:
@@ -47,7 +47,7 @@ if (SERVER_MODE !== 'static') {
|
|||||||
cors: {
|
cors: {
|
||||||
origin: '*',
|
origin: '*',
|
||||||
methods: ['GET', 'POST'],
|
methods: ['GET', 'POST'],
|
||||||
transports: ['websocket', 'polling', 'flashsocket'],
|
transports: ['websocket'],
|
||||||
credentials: false
|
credentials: false
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user