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-10-04 22:06:17 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-04 22:06:17 +0200
commit57af4224fd299bece6d298b74ca14e63cdc6db13 (patch)
tree6b93443f8211cf84f3718384f552cea5be3ba254 /bundle/src/Server.ts
parent:construction: different db engines (diff)
parentMerge pull request #413 from Thesourtimes/master (diff)
downloadserver-57af4224fd299bece6d298b74ca14e63cdc6db13.tar.xz
Merge branch 'master' of http://github.com/fosscord/fosscord-server
Diffstat (limited to '')
-rw-r--r--bundle/src/Server.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts

index 3a56ee2e..1596d54f 100644 --- a/bundle/src/Server.ts +++ b/bundle/src/Server.ts
@@ -6,6 +6,7 @@ import { FosscordServer as APIServer } from "@fosscord/api"; import { Server as GatewayServer } from "@fosscord/gateway"; import { CDNServer } from "@fosscord/cdn/"; import express from "express"; +import { red, green, bold } from "nanocolors"; import { Config, initDatabase } from "@fosscord/util"; const app = express(); @@ -58,7 +59,7 @@ async function main() { } as any); await Promise.all([api.start(), cdn.start(), gateway.start()]); - console.log(`[Server] listening on port ${port}`); + console.log(`[Server] ${green(`listening on port ${bold(port)}`)}`); } main().catch(console.error);