Merge pull request #967 from automatisch/automatisch-cloud

feat: Introduce automatisch cloud env variable
This commit is contained in:
Ömer Faruk Aydın
2023-03-03 12:28:37 +01:00
committed by GitHub

View File

@@ -38,6 +38,7 @@ type AppConfig = {
smtpUser: string;
smtpPassword: string;
fromEmail: string;
isCloud: boolean;
licenseKey: string;
};
@@ -104,6 +105,7 @@ const appConfig: AppConfig = {
smtpUser: process.env.SMTP_USER,
smtpPassword: process.env.SMTP_PASSWORD,
fromEmail: process.env.FROM_EMAIL,
isCloud: process.env.AUTOMATISCH_CLOUD === 'true',
licenseKey: process.env.LICENSE_KEY,
};