mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 13:42:02 +08:00
Update config.json and README.md
This commit is contained in:
parent
88dcc9c873
commit
5e1ede1585
13
README.md
13
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.
|
The default `config.json` may look like this.
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"HOST": "127.0.0.1",
|
"HOST": "127.0.0.1",
|
||||||
"PORT": "3333",
|
"PORT": "3333",
|
||||||
"QUALITY": "80",
|
"QUALITY": "80",
|
||||||
"IMG_PATH": "/path/to/pics",
|
"IMG_PATH": "/path/to/pics",
|
||||||
"EXHAUST_PATH": "/path/to/exhaust",
|
"EXHAUST_PATH": "/path/to/exhaust",
|
||||||
"ALLOWED_TYPES": ["jpg","png","jpeg"]
|
"ALLOWED_TYPES": ["jpg","png","jpeg","bmp"],
|
||||||
|
"ENABLE_AVIF": false
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -4,10 +4,6 @@
|
|||||||
"QUALITY": "80",
|
"QUALITY": "80",
|
||||||
"IMG_PATH": "./pics",
|
"IMG_PATH": "./pics",
|
||||||
"EXHAUST_PATH": "./exhaust",
|
"EXHAUST_PATH": "./exhaust",
|
||||||
"ALLOWED_TYPES": [
|
"ALLOWED_TYPES": ["jpg","png","jpeg","bmp"],
|
||||||
"jpg",
|
"ENABLE_AVIF": false
|
||||||
"png",
|
|
||||||
"jpeg",
|
|
||||||
"bmp"
|
|
||||||
]
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user