mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix(config): 🐛 Allow empty proxy address (in case config value isn't set)
This commit is contained in:
parent
b8b822e553
commit
51cbb22eb0
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue