authentication desabled
This commit is contained in:
parent
4fd061f4f6
commit
44a0b3cd58
3
index.js
3
index.js
|
@ -1,6 +1,9 @@
|
||||||
import { Hocuspocus } from "@hocuspocus/server";
|
import { Hocuspocus } from "@hocuspocus/server";
|
||||||
|
|
||||||
const server = new Hocuspocus({
|
const server = new Hocuspocus({
|
||||||
|
async onConnect({ connection }) {
|
||||||
|
connection.requiresAuthentication = false;
|
||||||
|
},
|
||||||
port: 4242,
|
port: 4242,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user