mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-25 03:45:33 +00:00
✨ load .env file
This commit is contained in:
Generated
BIN
Binary file not shown.
@@ -12,6 +12,7 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"dotenv": "^8.2.0",
|
||||
"erlpack": "^0.1.3",
|
||||
"fosscord-server-util": "github:fosscord/fosscord-server-util",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
|
||||
@@ -3,6 +3,8 @@ process.on("unhandledRejection", console.error);
|
||||
setTimeout(() => {}, 100000000);
|
||||
|
||||
import { Server } from "./Server";
|
||||
import { config } from "dotenv";
|
||||
config();
|
||||
|
||||
const server = new Server();
|
||||
server.listen();
|
||||
|
||||
Reference in New Issue
Block a user