mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix(config): 🐛 Fix crashes with default config values
This commit is contained in:
parent
edbe6e45b2
commit
b7f8f6689e
2 changed files with 2 additions and 4 deletions
|
|
@ -106,7 +106,7 @@ export const configValidator = z.object({
|
|||
}),
|
||||
)
|
||||
.default([]),
|
||||
jwt_key: z.string().min(3).includes(";").default(""),
|
||||
jwt_key: z.string().min(3).includes(";").default("").or(z.literal("")),
|
||||
}),
|
||||
http: z.object({
|
||||
base_url: z.string().min(1).default("http://lysand.social"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue