Router is now httpManager
This commit is contained in:
@ -10,7 +10,7 @@ import Database from '#application/database'
|
||||
import Logger, { LoggerType } from '#application/logger'
|
||||
import { getAppPath } from '#application/storage'
|
||||
import { TSocket } from '#application/types'
|
||||
import { HttpRouter } from '#http/router'
|
||||
import { HttpManager } from '#managers/httpManager'
|
||||
import ConsoleManager from '#managers/consoleManager'
|
||||
import DateManager from '#managers/dateManager'
|
||||
import QueueManager from '#managers/queueManager'
|
||||
@ -65,9 +65,9 @@ export class Server {
|
||||
this.logger.error(`Socket.IO failed to start: ${error.message}`)
|
||||
}
|
||||
|
||||
// Load HTTP routes
|
||||
const httpRouter = new HttpRouter(this.app)
|
||||
await httpRouter.boot()
|
||||
// Load HTTP manager
|
||||
const httpManager = new HttpManager(this.app)
|
||||
await httpManager.boot()
|
||||
|
||||
// Load queue manager
|
||||
await QueueManager.boot(this.io)
|
||||
|
Reference in New Issue
Block a user