Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: payload over 128k will cause a reconnect loop
  • Loading branch information
wangsipeng committed Nov 13, 2024
commit ed261c39fac309aeebe98abb2dc24b26f67b3245
1 change: 1 addition & 0 deletions packages/electron/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export function init() {
cors: {
origin: true,
},
maxHttpBufferSize: 1e8,
})

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