diff --git a/README.md b/README.md index c5f3f5b..6b31710 100644 --- a/README.md +++ b/README.md @@ -32,12 +32,13 @@ Download the `webp-server` from [release](https://github.com/webp-sh/webp_server The default `config.json` may look like this. ```json { - "HOST": "127.0.0.1", - "PORT": "3333", - "QUALITY": "80", - "IMG_PATH": "/path/to/pics", - "EXHAUST_PATH": "/path/to/exhaust", - "ALLOWED_TYPES": ["jpg","png","jpeg"] + "HOST": "127.0.0.1", + "PORT": "3333", + "QUALITY": "80", + "IMG_PATH": "/path/to/pics", + "EXHAUST_PATH": "/path/to/exhaust", + "ALLOWED_TYPES": ["jpg","png","jpeg","bmp"], + "ENABLE_AVIF": false } ``` diff --git a/config.json b/config.json index b3385c1..24805a9 100644 --- a/config.json +++ b/config.json @@ -4,10 +4,6 @@ "QUALITY": "80", "IMG_PATH": "./pics", "EXHAUST_PATH": "./exhaust", - "ALLOWED_TYPES": [ - "jpg", - "png", - "jpeg", - "bmp" - ] + "ALLOWED_TYPES": ["jpg","png","jpeg","bmp"], + "ENABLE_AVIF": false } \ No newline at end of file