Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Commit 709989a

Browse files
mkg20001daviddias
authored andcommitted
feat: Pass options to websocket server (#66)
1 parent e7ab32f commit 709989a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/listener.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function noop () {}
1010
const createServer = require('pull-ws/server') || noop
1111

1212
module.exports = (options, handler) => {
13-
const listener = createServer((socket) => {
13+
const listener = createServer(options, (socket) => {
1414
socket.getObservedAddrs = (callback) => {
1515
// TODO research if we can reuse the address in anyway
1616
return callback(null, [])

0 commit comments

Comments
 (0)