A yolo test of codex
This commit is contained in:
16
src/env.ts
16
src/env.ts
@@ -9,6 +9,22 @@ const serverSchema = z.object({
|
||||
.refine((s) => s.startsWith("mysql://"), {
|
||||
message: "ZXDB_URL must be a valid mysql:// URL",
|
||||
}),
|
||||
|
||||
// Optional file prefixes for ZXDB and WOS
|
||||
ZXDB_FILE_PREFIX: z.string().optional(),
|
||||
WOS_FILE_PREFIX: z.string().optional(),
|
||||
|
||||
// OIDC Configuration
|
||||
OIDC_PROVIDER_URL: z.string().url().optional(),
|
||||
OIDC_CLIENT_ID: z.string().optional(),
|
||||
OIDC_CLIENT_SECRET: z.string().optional(),
|
||||
|
||||
// Redis cache and SMTP mail URLs
|
||||
CACHE_URL: z.string().url().optional(),
|
||||
MAIL_URL: z.string().url().optional(),
|
||||
|
||||
// System hostname for permalinks (mandatory)
|
||||
HOSTNAME: z.string().min(1),
|
||||
});
|
||||
|
||||
function formatErrors(errors: z.ZodFormattedError<Map<string, string>, string>) {
|
||||
|
||||
Reference in New Issue
Block a user