Remove zod

This commit is contained in:
2024-10-27 11:14:13 -07:00
parent 570a441dcb
commit fe8c25a382

View File

@@ -1,17 +1,10 @@
import { createEnv } from "@t3-oss/env-nextjs"; import { createEnv } from "@t3-oss/env-nextjs";
import { z } from "zod";
export const env = createEnv({ export const env = createEnv({
/** /**
* Specify your server-side environment variables schema here. This way you can ensure the app * Specify your server-side environment variables schema here. This way you can ensure the app
* isn't built with invalid env vars. * isn't built with invalid env vars.
*/ */
server: {
DATABASE_URL: z.string().url(),
NODE_ENV: z
.enum(["development", "test", "production"])
.default("development"),
},
/** /**
* Specify your client-side environment variables schema here. This way you can ensure the app * Specify your client-side environment variables schema here. This way you can ensure the app