base con autenticacion, registro, modulo encuestas
This commit is contained in:
12
apps/web/lib/env.ts
Normal file
12
apps/web/lib/env.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { createEnv } from '@t3-oss/env-nextjs';
|
||||
import { z } from 'zod';
|
||||
|
||||
export const env = createEnv({
|
||||
server: {
|
||||
API_URL: z.string(),
|
||||
},
|
||||
client: {},
|
||||
runtimeEnv: {
|
||||
API_URL: process.env.API_URL,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user