Merge pull request #2799 from Infisical/misc/finalize-env-default

misc: finalized env schema handling
This commit is contained in:
Maidul Islam
2024-11-26 15:10:06 -05:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -74,8 +74,8 @@ CAPTCHA_SECRET=
NEXT_PUBLIC_CAPTCHA_SITE_KEY= NEXT_PUBLIC_CAPTCHA_SITE_KEY=
OTEL_TELEMETRY_COLLECTION_ENABLED= OTEL_TELEMETRY_COLLECTION_ENABLED=false
OTEL_EXPORT_TYPE= OTEL_EXPORT_TYPE=prometheus
OTEL_EXPORT_OTLP_ENDPOINT= OTEL_EXPORT_OTLP_ENDPOINT=
OTEL_OTLP_PUSH_INTERVAL= OTEL_OTLP_PUSH_INTERVAL=
+1 -1
View File
@@ -10,7 +10,7 @@ export const GITLAB_URL = "https://gitlab.com";
export const IS_PACKAGED = (process as any)?.pkg !== undefined; export const IS_PACKAGED = (process as any)?.pkg !== undefined;
const zodStrBool = z const zodStrBool = z
.enum(["true", "false"]) .string()
.optional() .optional()
.transform((val) => val === "true"); .transform((val) => val === "true");