chore: 🤖 add svix to env checks
Add svix api keys to the env var checks on startup
This commit is contained in:
@@ -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=
|
||||
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user