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 c42160c69578fd5671c56f02c1ca8fa0dd44e621 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()