Added all missing config vars/interpolations

ref #2
This commit is contained in:
2021-03-03 17:54:12 +01:00
parent a62f9c683d
commit 4994cb0489
4 changed files with 57 additions and 11 deletions

View File

@@ -16,7 +16,8 @@ export const config = {
privacy_url: process.env.PRIVACY_URL || "/privacy",
imprint_url: process.env.IMPRINT_URL || "/imprint",
copyright_owner: process.env.COPYRIGHT_OWNER || "LfK!",
event_name: process.env.EVENT_NAME || "Testing 4 Kaya!"
event_name: process.env.EVENT_NAME || "Testing 4 Kaya!",
contact_mail: process.env.CONTACT_MAIL || process.env.MAIL_FROM,
}
let errors = 0
if (typeof config.internal_port !== "number") {