Skip to content

Commit 974ab00

Browse files
committed
fix: make CRON_SECRET optional in environment configuration
1 parent cfd50a2 commit 974ab00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const env = createEnv({
1919
S3_ACCESS_SECRET: z.string().min(1),
2020
S3_BUCKET: z.string().min(1),
2121

22-
CRON_SECRET: process.env.CRON_SECRET,
22+
CRON_SECRET: z.string().optional(),
2323
},
2424
client: {
2525
NEXT_PUBLIC_MEILISEARCH_API_HOST: z.string().url(),

0 commit comments

Comments
 (0)