mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-28 20:08:16 +00:00
🎨 clean up
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -2,6 +2,7 @@ import os from "os";
|
||||
import osu from "node-os-utils";
|
||||
|
||||
export function initStats() {
|
||||
console.log(`[Path] running in ${__dirname}`);
|
||||
console.log(`[CPU] ${osu.cpu.model()} Cores x${osu.cpu.count()}`);
|
||||
console.log(`[System] ${os.platform()} ${os.arch()}`);
|
||||
console.log(`[Database] started`);
|
||||
|
||||
Reference in New Issue
Block a user