summary refs log tree commit diff
path: root/src/api/start.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/start.ts')
-rw-r--r--src/api/start.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api/start.ts b/src/api/start.ts
index 9ba198e7..c407484d 100644
--- a/src/api/start.ts
+++ b/src/api/start.ts
@@ -1,16 +1,16 @@
 process.on("uncaughtException", console.error);
 process.on("unhandledRejection", console.error);
 
-import { config } from "dotenv";
-config();
-import { FosscordServer } from "./Server";
 import cluster from "cluster";
+import { config } from "dotenv";
 import os from "os";
+import { FosscordServer } from "./Server";
+config();
 let cores = 1;
 try {
 	cores = Number(process.env.THREADS) || os.cpus().length;
 } catch {
-	console.log("[API] Failed to get thread count! Using 1...")
+	console.log("[API] Failed to get thread count! Using 1...");
 }
 
 if (cluster.isMaster && process.env.NODE_ENV == "production") {