From f70e8def302498d1f93cc4badde012333bbe8ea0 Mon Sep 17 00:00:00 2001 From: frankpagan Date: Wed, 3 Jan 2024 06:45:15 +0000 Subject: [PATCH] fix: comment checkCertificate --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index c7ae152..b91a11f 100644 --- a/src/index.js +++ b/src/index.js @@ -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 = {