This commit is contained in:
2023-09-23 13:24:37 +00:00
parent 9c9d9e9545
commit 438df6cd3c
60 changed files with 190 additions and 1100 deletions
+9
View File
@@ -0,0 +1,9 @@
import 'dotenv/config';
import { unwrap } from './util/unwrap.js';
export const ownConfig = {
sessionSecret: unwrap(process.env.SESSION_SECRET),
port: Number(unwrap(process.env.SERVER_PORT)),
gatewayHost: unwrap(process.env.GATEWAY_HOST),
gatewayPort: Number(unwrap(process.env.GATEWAY_PORT)),
};