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

Commit

Permalink
feat: Pass options to websocket server (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkg20001 authored and daviddias committed Apr 5, 2018
1 parent e7ab32f commit 709989a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listener.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function noop () {}
const createServer = require('pull-ws/server') || noop

module.exports = (options, handler) => {
const listener = createServer((socket) => {
const listener = createServer(options, (socket) => {
socket.getObservedAddrs = (callback) => {
// TODO research if we can reuse the address in anyway
return callback(null, [])
Expand Down

0 comments on commit 709989a

Please sign in to comment.