env.mjs 232 B

1234567891011
  1. import { createEnv } from "@t3-oss/env-nextjs"
  2. import { z } from "zod"
  3. export const env = createEnv({
  4. server: {
  5. NEXTAUTH_URL: z.string().url().optional(),
  6. },
  7. client: {
  8. NEXT_PUBLIC_APP_URL: z.string().min(1),
  9. },
  10. });