Skip to content

Commit ed261c3

Browse files
author
wangsipeng
committed
fix: payload over 128k will cause a reconnect loop
1 parent ed6a6aa commit ed261c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/electron/src/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export function init() {
2222
cors: {
2323
origin: true,
2424
},
25+
maxHttpBufferSize: 1e8,
2526
})
2627

2728
io.on('connection', (socket) => {

0 commit comments

Comments
 (0)