authentication desabled
This commit is contained in:
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,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user