mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 13:42:02 +08:00
Update README and config.json (#260)
This commit is contained in:
parent
a7b9e90fab
commit
cd0a83a596
@ -12,7 +12,7 @@
|
||||
|
||||
This is a Server based on Golang, which allows you to serve WebP images on the fly.
|
||||
|
||||
* currently supported image format: JPEG, PNG, BMP, GIF
|
||||
* currently supported image format: JPEG, PNG, BMP, GIF, SVG
|
||||
|
||||
> e.g When you visit `https://your.website/pics/tsuki.jpg`,it will serve as `image/webp` format without changing the
|
||||
> URL.
|
||||
|
@ -4,7 +4,7 @@
|
||||
"QUALITY": "80",
|
||||
"IMG_PATH": "./pics",
|
||||
"EXHAUST_PATH": "./exhaust",
|
||||
"ALLOWED_TYPES": ["jpg","png","jpeg","bmp","gif"],
|
||||
"ALLOWED_TYPES": ["jpg","png","jpeg","bmp","gif","svg"],
|
||||
"ENABLE_AVIF": false,
|
||||
"ENABLE_EXTRA_PARAMS": false
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ const (
|
||||
"QUALITY": "80",
|
||||
"IMG_PATH": "./pics",
|
||||
"EXHAUST_PATH": "./exhaust",
|
||||
"ALLOWED_TYPES": ["jpg","png","jpeg","bmp"],
|
||||
"ALLOWED_TYPES": ["jpg","png","jpeg","bmp","svg"],
|
||||
"ENABLE_AVIF": false,
|
||||
"ENABLE_EXTRA_PARAMS": false
|
||||
}`
|
||||
|
Loading…
x
Reference in New Issue
Block a user