kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/715/head
rodzic
5d10c44773
commit
69498be0ab
|
@ -3,7 +3,7 @@ import 'dotenv/config'
|
|||
import { z } from 'zod'
|
||||
|
||||
export const envSchema = z.object({
|
||||
PORT: z.number().default(8080)
|
||||
PORT: z.string().default('8080').transform(Number)
|
||||
})
|
||||
|
||||
export type Env = z.infer<typeof envSchema>
|
||||
|
|
Ładowanie…
Reference in New Issue