read tg_bot_updates from db
Deploy app frontend / app frontend (push) Successful in 2m34s
Deploy db-migrations / db-migrations (push) Successful in 1m12s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Successful in 1m38s
Deploy service tg-bot / service tg-bot (push) Failing after 2m11s

This commit is contained in:
2024-12-15 03:14:39 +02:00
parent c075c5f708
commit 0ac5e9ce62
31 changed files with 211 additions and 331 deletions
+5
View File
@@ -14,6 +14,10 @@ if (!process.env.API_URL) {
throw new Error("Environment variable API_URL is not set");
}
if (!process.env.PUBLIC_API_URL) {
throw new Error("Environment variable PUBLIC_API_URL is not set");
}
if (!process.env.HEARTBEAT_INTERVAL) {
throw new Error("Environment variable HEARTBEAT_INTERVAL is not set");
}
@@ -23,5 +27,6 @@ export const env = {
READ_BASE_URL: process.env.READ_BASE_URL,
APP_BASE_URL: process.env.APP_BASE_URL,
API_URL: process.env.API_URL,
PUBLIC_API_URL: process.env.PUBLIC_API_URL,
HEARTBEAT_INTERVAL: parseInt(process.env.HEARTBEAT_INTERVAL, 10),
} as const;