Skip to content

Commit

Permalink
fix: default minio port
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin committed Aug 7, 2024
1 parent 651628d commit 9719302
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/env/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ const minioEnv = createEnv({
UNDB_MINIO_STORAGE_PORT: z
.string()
.optional()
.default("9000")
.transform((v) => parseInt(v, 10)),
.transform((v) => (v ? parseInt(v, 10) : undefined)),
UNDB_MINIO_STORAGE_USE_SSL: z
.string()
.optional()
Expand Down

0 comments on commit 9719302

Please sign in to comment.