Closed n0vad3v closed 1 year ago
Webp Server Go - v0.5.0
Develop by WebP Server team. https://github.com/webp-sh
Webp Server Go is Running on http://0.0.0.0:3333
17:59:52 | 200 | 1ms | 127.0.0.1 | GET | /1.png
18:00:03 | 200 | 0s | 127.0.0.1 | GET | /1.png
18:00:31 | 200 | 0s | 127.0.0.1 | GET | /1.png
INFO[2023-03-02 18:00:58][152:main.convertLog()] AVIF@80.00%: /opt/pics/1.png->exhaust/1.png.1675711056.avif 85214->31584 37.06% deflated
INFO[2023-03-02 18:00:58][152:main.convertLog()] WebP@80.00%: /opt/pics/1.png->exhaust/1.png.1675711056.webp 85214->21766 25.54% deflated
18:00:58 | 200 | 3.323s | 127.0.0.1 | GET | /1.png
^C
root@9fce2b1fb590:~# cat /etc/config.json
{
"HOST": "0.0.0.0",
"PORT": "3333",
"QUALITY": "80",
"IMG_PATH": "/opt/pics",
"EXHAUST_PATH": "./exhaust",
"ALLOWED_TYPES": ["jpg","png","jpeg","bmp"],
"ENABLE_AVIF": true
}
consider it as fixed.
Describe the bug WebP Server will crash when ENABLE_AVIF is set to true
To Reproduce Enable AVIF like this and visit any image file.
Expected behavior Server behave normally.
Screenshots and logs
Environment (please complete the following information):
Additional context Using binary will not produce this kind of error on my development machine, might be problem with alpine.