authentication desabled

This commit is contained in:
bniwredyc 2023-03-30 02:30:43 +02:00
parent 4fd061f4f6
commit 44a0b3cd58

View File

@ -1,6 +1,9 @@
import { Hocuspocus } from "@hocuspocus/server";
const server = new Hocuspocus({
async onConnect({ connection }) {
connection.requiresAuthentication = false;
},
port: 4242,
});