chore: 🤖 add svix to env checks

Add svix api keys to the env var checks on startup
This commit is contained in:
SirTenzin
2025-06-24 01:13:57 +01:00
parent 4fc5e159e4
commit 2afbd30852
2 changed files with 12 additions and 1 deletions

View File

@@ -54,4 +54,10 @@ RESEND_DOMAIN=
# This is entirely optional for users who know what they are doing.
LOGTAIL_SOURCE_TOKEN=
LOGTAIL_INGESTING_HOST=
LOGTAIL_INGESTING_HOST=
# SVIX
# This is entirely optional for users who know what they are doing.
SVIX_API_KEY=

View File

@@ -42,4 +42,9 @@ export const checkEnvVars = () => {
`SUPABASE_URL or SUPABASE_SERVICE_KEY is not set, some actions will be skipped`,
);
}
if (!process.env.SVIX_API_KEY) {
logger.warn(`SVIX_API_KEY is not set, some actions will be skipped`);
return;
}
};