From 373ec07b40178cb3b704aa83fc4fd53abfe279bc Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Tue, 15 Jul 2025 12:43:28 +0700 Subject: feat: prepare all internal pkg (input/output client & processor) --- config/config.json | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'config/config.json') diff --git a/config/config.json b/config/config.json index d818107..298a03f 100644 --- a/config/config.json +++ b/config/config.json @@ -9,6 +9,21 @@ "KeyID": "${B2_KEY_ID}", "ApplicationKey": "${B2_APPLICATION_KEY}" } + }, + "KnownExtensions": [ + "jpg", + "jpeg", + "png" + ] + }, + "Processor": { + "Type": "webp", + "Config": { + "Quality": 80, + "Size": { + "MaxWidth": 1280, + "MaxHeight": 0 + } } }, "Output": { @@ -21,11 +36,6 @@ "KeyID": "${B2_KEY_ID}", "ApplicationKey": "${B2_APPLICATION_KEY}" } - }, - "Quality": 80, - "Size": { - "MaxWidth": 1280, - "MaxHeight": 0 } } -} \ No newline at end of file +} -- cgit v1.3.1+13