mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 05:32:02 +08:00
* WIP JXL * Fix test * Tries to fix autobuild * Tries to fix autobuild * Add setup go in codeql * Bump actions version * Do not print curl output in CI * Do not print curl output in CI * Remove Metadata on RAW image * Update sample config * better loop * Prefetch should also respect AllowedType * Better Export params and UA handle * Only do conversion on supported formats * CONVERT_TYPES default to webp only * CONVERT_TYPES default to webp only * Add GIF to AllowedTypes * Update README
16 lines
399 B
JSON
16 lines
399 B
JSON
{
|
|
"HOST": "127.0.0.1",
|
|
"PORT": "3333",
|
|
"QUALITY": "80",
|
|
"IMG_PATH": "./pics",
|
|
"EXHAUST_PATH": "./exhaust",
|
|
"IMG_MAP": {},
|
|
"ALLOWED_TYPES": ["jpg","png","jpeg","gif","bmp","svg","heic","nef"],
|
|
"CONVERT_TYPES": ["webp"],
|
|
"STRIP_METADATA": true,
|
|
"ENABLE_EXTRA_PARAMS": false,
|
|
"READ_BUFFER_SIZE": 4096,
|
|
"CONCURRENCY": 262144,
|
|
"DISABLE_KEEPALIVE": false,
|
|
"CACHE_TTL": 259200
|
|
} |