backend/src/config.ts

7 lines
254 B
TypeScript
Raw Normal View History

2020-12-06 09:29:56 +00:00
import * as dotenvSafe from "dotenv-safe";
dotenvSafe.config();
export const config = {
internal_port: process.env.APP_PORT || 4010,
development: process.env.NODE_ENV === "production",
jwt_secret: process.env.JWT_SECRET || "secretjwtsecret"
}