diff options
Diffstat (limited to 'bundle/src/Server.ts')
-rw-r--r-- | bundle/src/Server.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts index c6acf0ad..e0586601 100644 --- a/bundle/src/Server.ts +++ b/bundle/src/Server.ts @@ -33,9 +33,8 @@ async function main() { }, }); - await api.start(); - await cdn.start(); - await gateway.start(); + await Promise.all([api.start(), cdn.start(), gateway.start()]); + console.log(`[Server] listening on port ${port}`); } main().catch(console.error); |