We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e13dcb commit f01831bCopy full SHA for f01831b
src/index.js
@@ -63,8 +63,9 @@ class SocketServer extends EventEmitter {
63
socket.host = socket.origin;
64
}
65
66
+ if (!await self.acme.checkCertificate(socket.host, organization_id))
67
+ return socket.send(JSON.stringify({ method: 'Access Denied', error: 'Host not whitelisted' }))
68
- // TODO: handle ssl validation here and creation here
69
if (!organization || organization && organization.status !== false) {
70
let data = {
71
socket,
0 commit comments