Skip to content

Open-source status page, incident response and uptime monitoring

283 B
Raw Blame
import { createEnv } from "@t3-oss/env-core";
import { z } from "zod";

export const env = createEnv({
  server: {
    RESEND_API_KEY: z.string().min(1),
  },
  runtimeEnv: {
    RESEND_API_KEY: process.env.RESEND_API_KEY,
  },
  skipValidation: process.env.NODE_ENV === "test",
});