This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Server } from '@hocuspocus/server' | |
import Fastify from 'fastify' | |
import WebSocketPlugin from 'fastify-websocket' | |
const port = Number(process.env.PORT || 8800) | |
const host = '0.0.0.0' | |
// Initialize Fastify | |
const fastify = Fastify() |
OlderNewer