content updates

This commit is contained in:
2024-05-27 14:03:53 +00:00
parent f517189633
commit e70c6736f6
11 changed files with 59 additions and 154 deletions

11
env.mjs
View File

@@ -2,16 +2,7 @@ import { createEnv } from "@t3-oss/env-nextjs";
import { z } from 'zod';
const env = createEnv({
server: {
POSTGRES_URL: z.string().url(),
POSTGRES_USER: z.string(),
POSTGRES_PASSWORD: z.string(),
},
runtimeEnv: {
POSTGRES_URL: process.env.POSTGRES_URL,
POSTGRES_USER: process.env.POSTGRES_USER,
POSTGRES_PASSWORD: process.env.POSTGRES_PASSWORD,
}
})
export { env }