Open benzmuircroft opened 10 years ago
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?
Do you have a reproducible test case?
I can show you my full files, if you like? would you like me to email the client.js and server.js
You've got email
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?