|
|
@ -15,8 +15,8 @@ export const MAILCATCHER_API_PORT = parseInt(
|
|
|
|
process.env.SEALIOUS_MAILCATCHER_API_PORT || "1082"
|
|
|
|
process.env.SEALIOUS_MAILCATCHER_API_PORT || "1082"
|
|
|
|
);
|
|
|
|
);
|
|
|
|
export const MAILER = process.env.SEALIOUS_MAILER;
|
|
|
|
export const MAILER = process.env.SEALIOUS_MAILER;
|
|
|
|
export const HA_TOKEN = process.env.HA_TOKEN;
|
|
|
|
export const HA_TOKEN = process.env.HA_TOKEN?.trim();
|
|
|
|
export const HA_URL = process.env.HA_URL;
|
|
|
|
export const HA_URL = process.env.HA_URL?.trim();
|
|
|
|
|
|
|
|
|
|
|
|
if (!HA_TOKEN) {
|
|
|
|
if (!HA_TOKEN) {
|
|
|
|
console.error("Please set HA_TOKEN env variable to communicate with Home Assistant");
|
|
|
|
console.error("Please set HA_TOKEN env variable to communicate with Home Assistant");
|
|
|
|