From 44a0b3cd58fd7aa51ac96e0240ca8227b529316f Mon Sep 17 00:00:00 2001 From: bniwredyc Date: Thu, 30 Mar 2023 02:30:43 +0200 Subject: [PATCH] authentication desabled --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 00e9ffb..cc520cc 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,9 @@ import { Hocuspocus } from "@hocuspocus/server"; const server = new Hocuspocus({ + async onConnect({ connection }) { + connection.requiresAuthentication = false; + }, port: 4242, });