mirror of
https://github.com/versia-pub/server.git
synced 2025-12-08 09:18:19 +01:00
fix(config): 🐛 Ensure bridge config is optional
This commit is contained in:
parent
aae99c804a
commit
f2c9814171
|
|
@ -478,7 +478,6 @@ export const configValidator = z.object({
|
||||||
software: "lysand-ap",
|
software: "lysand-ap",
|
||||||
allowed_ips: [],
|
allowed_ips: [],
|
||||||
token: "",
|
token: "",
|
||||||
url: "",
|
|
||||||
})
|
})
|
||||||
.refine(
|
.refine(
|
||||||
(arg) => (arg.enabled ? arg.url : true),
|
(arg) => (arg.enabled ? arg.url : true),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue