mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(federation): ♻️ Replace WebFinger code with @lysand-org/federation logic, add new debug command
This commit is contained in:
parent
38c8ea24a9
commit
cea9452127
15 changed files with 256 additions and 99 deletions
|
|
@ -509,6 +509,15 @@ export const configValidator = z.object({
|
|||
privacy_policy_path: z.string().optional(),
|
||||
logo: zUrl.optional(),
|
||||
banner: zUrl.optional(),
|
||||
keys: z
|
||||
.object({
|
||||
public: z.string().min(3).default("").or(z.literal("")),
|
||||
private: z.string().min(3).default("").or(z.literal("")),
|
||||
})
|
||||
.default({
|
||||
public: "",
|
||||
private: "",
|
||||
}),
|
||||
})
|
||||
.default({
|
||||
name: "Lysand",
|
||||
|
|
@ -518,6 +527,10 @@ export const configValidator = z.object({
|
|||
privacy_policy_path: undefined,
|
||||
logo: undefined,
|
||||
banner: undefined,
|
||||
keys: {
|
||||
public: "",
|
||||
private: "",
|
||||
},
|
||||
}),
|
||||
permissions: z
|
||||
.object({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue