2023-04-05 16:33:56 +02:00
|
|
|
import { join } from "path"
|
|
|
|
|
|
|
|
let LOADED = false
|
|
|
|
if (!LOADED) {
|
|
|
|
require("dotenv").config({
|
|
|
|
path: join(__dirname, "..", ".env"),
|
|
|
|
})
|
|
|
|
LOADED = true
|
|
|
|
}
|
|
|
|
|
2022-09-15 01:58:08 +02:00
|
|
|
const env = {
|
2023-04-05 16:33:56 +02:00
|
|
|
BUDIBASE_URL: process.env.BUDIBASE_URL,
|
|
|
|
ACCOUNT_PORTAL_URL: process.env.ACCOUNT_PORTAL_URL,
|
|
|
|
BB_ADMIN_USER_EMAIL: process.env.BB_ADMIN_USER_EMAIL,
|
|
|
|
BB_ADMIN_USER_PASSWORD: process.env.BB_ADMIN_USER_PASSWORD,
|
2022-09-15 01:58:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export = env
|