Skip to content

Commit

Permalink
Update README and config.json (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
n0vad3v authored Jul 21, 2023
1 parent a7b9e90 commit cd0a83a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}`
Expand Down

0 comments on commit cd0a83a

Please sign in to comment.