mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-05 23:16:57 -06:00
Allow CRON_SECRET to be optional
This commit is contained in:
2
src/env/schema.mjs
vendored
2
src/env/schema.mjs
vendored
@@ -6,7 +6,7 @@ import { z } from "zod";
|
|||||||
* This way you can ensure the app isn't built with invalid env vars.
|
* This way you can ensure the app isn't built with invalid env vars.
|
||||||
*/
|
*/
|
||||||
export const serverSchema = z.object({
|
export const serverSchema = z.object({
|
||||||
CRON_SECRET: z.string(),
|
CRON_SECRET: z.string().nullish(),
|
||||||
GITHUB_API_TOKEN: z.string(),
|
GITHUB_API_TOKEN: z.string(),
|
||||||
DIRECTUS_API_TOKEN: z.string(),
|
DIRECTUS_API_TOKEN: z.string(),
|
||||||
DIRECTUS_REVALIDATE_KEY: z.string(),
|
DIRECTUS_REVALIDATE_KEY: z.string(),
|
||||||
|
|||||||
Reference in New Issue
Block a user