mirror of
https://github.com/spliit-app/spliit.git
synced 2025-12-06 01:19:29 +01:00
9 lines
193 B
TypeScript
9 lines
193 B
TypeScript
import { z } from 'zod'
|
|
|
|
const envSchema = z.object({
|
|
POSTGRES_URL_NON_POOLING: z.string().url(),
|
|
POSTGRES_PRISMA_URL: z.string().url(),
|
|
})
|
|
|
|
export const env = envSchema.parse(process.env)
|