mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat(config): ✨ Add option to never convert vector images
This commit is contained in:
parent
6ef3a854d9
commit
de9dca5735
3 changed files with 12 additions and 0 deletions
|
|
@ -224,10 +224,12 @@ export const configValidator = z.object({
|
|||
.object({
|
||||
convert_images: z.boolean().default(false),
|
||||
convert_to: z.string().default("image/webp"),
|
||||
convert_vector: z.boolean().default(false),
|
||||
})
|
||||
.default({
|
||||
convert_images: false,
|
||||
convert_to: "image/webp",
|
||||
convert_vector: false,
|
||||
}),
|
||||
})
|
||||
.default({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue