Skip to content

Commit 4986cd7

Browse files
BirkenstabEomm
authored andcommitted
Fix wssOptions typo (#27)
1 parent 5736b14 commit 4986cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ All you need to do is to add it to your project with `register` and you are done
2121

2222
const fastify = require('fastify')()
2323

24-
const wssOtions = {
24+
const wssOptions = {
2525
maxPayload: 1048576, // we set the maximum allowed messages size to 1 MiB (1024 bytes * 1024 bytes)
2626
path: '/fastify', // we accept only connections matching this path e.g.: ws://localhost:3000/fastify
2727
verifyClient: function (info, next) {

0 commit comments

Comments
 (0)