mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Merge pull request #958 from SISheogorath/fix/uws
Replace `uws` with `ws` package
This commit is contained in:
commit
ae8fa41f92
2 changed files with 6 additions and 2 deletions
2
app.js
2
app.js
|
@ -58,7 +58,7 @@ app.use(morgan('combined', {
|
|||
|
||||
// socket io
|
||||
var io = require('socket.io')(server)
|
||||
io.engine.ws = new (require('uws').Server)({
|
||||
io.engine.ws = new (require('ws').Server)({
|
||||
noServer: true,
|
||||
perMessageDeflate: false
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue