format & lint
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import { createServer as httpServer, Server as HTTPServer } from 'http'
|
||||
import express, { Application } from 'express'
|
||||
|
||||
import cors from 'cors'
|
||||
import express, { Application } from 'express'
|
||||
|
||||
import config from '#application/config'
|
||||
import Database from '#application/database'
|
||||
@ -47,7 +48,6 @@ export class Server {
|
||||
ZoneManager.boot(),
|
||||
ConsoleManager.boot()
|
||||
])
|
||||
|
||||
} catch (error: any) {
|
||||
this.logger.error(`Server failed to start: ${error.message}`)
|
||||
process.exit(1)
|
||||
@ -57,4 +57,4 @@ export class Server {
|
||||
|
||||
// Start the server
|
||||
const server = new Server()
|
||||
server.start().catch(console.error)
|
||||
server.start().catch(console.error)
|
||||
|
Reference in New Issue
Block a user