feat: Introduce automatisch cloud env variable
This commit is contained in:
@@ -38,6 +38,7 @@ type AppConfig = {
|
|||||||
smtpUser: string;
|
smtpUser: string;
|
||||||
smtpPassword: string;
|
smtpPassword: string;
|
||||||
fromEmail: string;
|
fromEmail: string;
|
||||||
|
isCloud: boolean;
|
||||||
licenseKey: string;
|
licenseKey: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -104,6 +105,7 @@ const appConfig: AppConfig = {
|
|||||||
smtpUser: process.env.SMTP_USER,
|
smtpUser: process.env.SMTP_USER,
|
||||||
smtpPassword: process.env.SMTP_PASSWORD,
|
smtpPassword: process.env.SMTP_PASSWORD,
|
||||||
fromEmail: process.env.FROM_EMAIL,
|
fromEmail: process.env.FROM_EMAIL,
|
||||||
|
isCloud: process.env.AUTOMATISCH_CLOUD === 'true',
|
||||||
licenseKey: process.env.LICENSE_KEY,
|
licenseKey: process.env.LICENSE_KEY,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user