mirror of
https://github.com/soconnor0919/personal-website.git
synced 2026-02-05 00:06:36 -05:00
Remove zod
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user