Skip to content

TypeError {} (anonymous function) #5

@benzmuircroft

Description

@benzmuircroft

My console log shows me this TypeError with no line number for the error

[WebSocket] response header:
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: EKe7xY9gtGUsL6JCb3hs1x2qLU8=

TypeError {}
(anonymous function)

my code is:

var pf=require('policyfile').createServer(['http://website.com','website.com','website.com:*','website.com:8004','website.com:8005']);
pf.listen(function(){console.log(':3 yay')});

Where might this error come from?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions