mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
9 lines
165 B
TypeScript
9 lines
165 B
TypeScript
import { Hocuspocus } from "@hocuspocus/server";
|
|
|
|
// Configure the server …
|
|
const server = new Hocuspocus({
|
|
port: 1998,
|
|
});
|
|
|
|
// … and run it!
|
|
server.listen();
|