gateway
This commit is contained in:
@@ -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)),
|
||||
};
|
||||
Reference in New Issue
Block a user