the statusphere demo reworked into a vite/react app in a monorepo
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at abe304a2c9bf139e74af8a1d15ae6a4e734d6e90 16 lines 355 B view raw
1import { Server } from '#/server' 2 3const run = async () => { 4 const server = await Server.create() 5 6 const onCloseSignal = async () => { 7 setTimeout(() => process.exit(1), 10000).unref() // Force shutdown after 10s 8 await server.close() 9 process.exit() 10 } 11 12 process.on('SIGINT', onCloseSignal) 13 process.on('SIGTERM', onCloseSignal) 14} 15 16run()