fix(config): 🐛 Allow empty proxy address (in case config value isn't set)

This commit is contained in:
Jesse Wierzbinski 2024-06-25 18:00:03 -10:00
parent b8b822e553
commit 51cbb22eb0
No known key found for this signature in database

View file

@ -123,7 +123,7 @@ export const configValidator = z.object({
proxy: z proxy: z
.object({ .object({
enabled: z.boolean().default(false), enabled: z.boolean().default(false),
address: zUrl, address: zUrl.or(z.literal("")),
}) })
.default({ .default({
enabled: false, enabled: false,