summary refs log tree commit diff
path: root/bundle/src/Server.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-17 22:42:16 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-17 22:42:16 +0200
commitd8b01058b34b22ae9fba25ec9c257e62de4e067b (patch)
tree80c840398619b9a8ac8d0a7e1ab53c0b64aec676 /bundle/src/Server.ts
parent:sparkles: mention regex (diff)
downloadserver-d8b01058b34b22ae9fba25ec9c257e62de4e067b.tar.xz
:art: clean up
Diffstat (limited to '')
-rw-r--r--bundle/src/Server.ts5
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);