Compare commits

...

1 Commits

Author SHA1 Message Date
Dhruwang 750bd0a53f fix: make HUB_API_URL optional in env validation
HUB_API_URL was required (`z.url()`), which breaks Docker release builds
and local `pnpm go` when the variable is not set. This makes it optional
to match HUB_API_KEY and other runtime-only config.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-07 16:12:33 +05:30
+1 -1
View File
@@ -196,7 +196,7 @@ const parsedEnv = createEnv({
CUBEJS_JWT_ISSUER: ZOptionalNonEmptyString,
HTTP_PROXY: z.url().optional(),
HTTPS_PROXY: z.url().optional(),
HUB_API_URL: z.url(),
HUB_API_URL: z.url().optional(),
HUB_API_KEY: z.string().optional(),
IMPRINT_URL: z
.url()