2022-09-08 08:58:39 -07:00
|
|
|
import Server from './bin/server.js'
|
2021-08-08 09:58:24 -07:00
|
|
|
const server = new Server()
|
2021-04-09 08:39:53 -07:00
|
|
|
|
2025-02-20 19:03:45 -07:00
|
|
|
process.on('unhandledRejection', (reason, promise) => {
|
|
|
|
|
console.log(`Handling ${reason.code} error. stack: `, reason)
|
|
|
|
|
})
|
|
|
|
|
|
2021-04-09 08:39:53 -07:00
|
|
|
server.startServer()
|