A yolo test of codex

This commit is contained in:
2026-01-01 15:42:22 +00:00
parent 616d775303
commit 6237ff86d0
4 changed files with 101 additions and 2 deletions

View File

@@ -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>) {