format & lint

This commit is contained in:
2025-01-01 04:48:30 +01:00
parent 495e9f192e
commit 9c28b10383
12 changed files with 48 additions and 55 deletions

View File

@ -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)