Removed unneeded await

This commit is contained in:
Dennis Postma 2024-08-22 20:16:48 +02:00
parent c4b50ec811
commit c909bc4aa7

View File

@ -47,7 +47,7 @@ export class Server {
// Start the server
try {
await this.http.listen(config.PORT, config.HOST)
this.http.listen(config.PORT, config.HOST)
logger.info(`Socket.IO running on port ${config.PORT}`)
} catch (error: any) {
logger.error(`Socket.IO failed to start: ${error.message}`)