Skip to content

Commit 5a648ad

Browse files
committed
Update WS module and hopefully make sure payload is set
1 parent 77a7437 commit 5a648ad

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"url-loader": "^4.1.1",
2727
"webpack": "^5.97.1",
2828
"webpack-cli": "^6.0.1",
29-
"ws": "*"
29+
"ws": "^8.18.3"
3030
},
3131
"license": "MIT",
3232
"nodemonConfig": {

server-src/server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ var usersOnlineSockets = {};
2020
var wssServerOptions = {
2121
//Options to prevent abuse.
2222
maxPayload: 1024 * 10,
23+
maxpayload: 1024 * 10,
2324
};
2425
try {
2526
fs.rmSync(userMediaDirectory, { directory: true, recursive: true });

wpstatic/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"timestamp":"1761157405137"}
1+
{"timestamp":"1761157802777"}

0 commit comments

Comments
 (0)