Skip to content

Commit

Permalink
fix: comment checkCertificate
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jan 3, 2024
1 parent 5f530b1 commit f70e8de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ class SocketServer extends EventEmitter {
socket.host = socket.origin;
}

if (!await self.acme.checkCertificate(socket.host, organization_id))
return socket.send(JSON.stringify({ method: 'Access Denied', error: 'Host not whitelisted' }))
// if (!await server.acme.checkCertificate(socket.host, organization_id))
// return socket.send(JSON.stringify({ method: 'Access Denied', error: 'Host not whitelisted' }))

if (!organization || organization && organization.status !== false) {
let data = {
Expand Down

0 comments on commit f70e8de

Please sign in to comment.