mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-26 17:11:21 +00:00
15 lines
377 B
JavaScript
15 lines
377 B
JavaScript
import { createEnv } from "@t3-oss/env-nextjs";
|
|
import { z } from "zod";
|
|
|
|
export const env = createEnv({
|
|
server: {
|
|
// This is optional because it's only used in development.
|
|
// See https://next-auth.js.org/deployment.
|
|
},
|
|
client: {
|
|
NEXT_PUBLIC_APP_URL: z.string().min(1),
|
|
},
|
|
runtimeEnv: {
|
|
NEXT_PUBLIC_APP_URL: process.env.NEXT_PUBLIC_APP_URL,
|
|
},
|
|
});
|