We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd160fb commit 25d3977Copy full SHA for 25d3977
src/common/config/app-config/config.schema.ts
@@ -58,8 +58,8 @@ export const configSchema = z
58
.refine((val) => val === 'true' || val === 'false', 'Must be "true" or "false".'),
59
SCALAR_PATH: z.string().default('/scalar'),
60
SWAGGER_PATH: z.string().default('/docs'),
61
- METRICS_USER: z.string(),
62
- METRICS_PASS: z.string(),
+ METRICS_USER: z.string().min(1, { message: 'METRICS_USER cannot be empty' }),
+ METRICS_PASS: z.string().min(1, { message: 'METRICS_PASS cannot be empty' }),
63
SUB_PUBLIC_DOMAIN: z.string(),
64
WEBHOOK_ENABLED: z
65
.string()
0 commit comments