mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(api): 🔥 Refactor media uploader code
This commit is contained in:
parent
9566387273
commit
303928f960
6 changed files with 80 additions and 86 deletions
|
|
@ -192,7 +192,7 @@ export interface Config {
|
|||
/** @default false */
|
||||
convert_images: boolean;
|
||||
|
||||
/** @default "webp" */
|
||||
/** @default "image/webp" */
|
||||
convert_to: string;
|
||||
};
|
||||
};
|
||||
|
|
@ -494,7 +494,7 @@ export const defaultConfig: Config = {
|
|||
local_uploads_folder: "uploads",
|
||||
conversion: {
|
||||
convert_images: false,
|
||||
convert_to: "webp",
|
||||
convert_to: "image/webp",
|
||||
},
|
||||
},
|
||||
s3: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue