mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-06 03:17:08 -06:00
Add 'revalidate' route, add DIRECTUS_REVALIDATE_KEY
This commit is contained in:
1
src/env/schema.mjs
vendored
1
src/env/schema.mjs
vendored
@@ -6,6 +6,7 @@ import { z } from "zod";
|
||||
* This way you can ensure the app isn't built with invalid env vars.
|
||||
*/
|
||||
export const serverSchema = z.object({
|
||||
DIRECTUS_REVALIDATE_KEY: z.string(),
|
||||
NODE_ENV: z.enum(["development", "test", "production"]),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user