Updated page to support maintance mode
This commit is contained in:
12
src/lib/env/server.ts
vendored
12
src/lib/env/server.ts
vendored
@@ -1,10 +1,12 @@
|
||||
import { createEnv } from "@t3-oss/env-nextjs";
|
||||
import z from "zod";
|
||||
import { createEnv } from "@t3-oss/env-nextjs"
|
||||
import z from "zod"
|
||||
|
||||
export const env = createEnv({
|
||||
server: {
|
||||
HYPIXEL_API_KEY: z.string().min(1),
|
||||
MAINTENANCE_MODE: z.coerce.boolean().default(false),
|
||||
HYPIXEL_API_KEY: z.string().min(1)
|
||||
},
|
||||
experimental__runtimeEnv: true,
|
||||
emptyStringAsUndefined: true,
|
||||
})
|
||||
emptyStringAsUndefined: true
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user