Added new url env vars to config

ref #135
This commit is contained in:
Nicolai Ort 2021-02-02 15:04:09 +01:00
parent 74791df68b
commit bcad691045
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ export const config = {
mail_port: Number(process.env.MAIL_PORT) || 25,
mail_user: process.env.MAIL_USER,
mail_password: process.env.MAIL_PASSWORD,
mail_from: process.env.MAIL_FROM
mail_from: process.env.MAIL_FROM,
privacy_url: process.env.PRIVACY_URL || "/privacy",
imprint_url: process.env.IMPRINT_URL || "/imprint"
}
let errors = 0
if (typeof config.internal_port !== "number") {