webp-sh / webp_server_go

Go version of WebP Server. A tool that will serve your JPG/PNG/BMP/SVGs as WebP/AVIF format with compression, on-the-fly.
https://docs.webp.sh
GNU General Public License v3.0
1.79k stars 174 forks source link

try more config #273

Closed BennyThink closed 1 year ago

BennyThink commented 1 year ago
  1. current dir config.json
  2. /etc/config.json

fix #271

github-actions[bot] commented 1 year ago

ghcr.io/webp-sh/webp_server_go (debian 12.1)
============================================
Total: 0 (HIGH: 0, CRITICAL: 0)
n0vad3v commented 1 year ago

No, the problem here is WebP Server Go trying to load config.json before processing any flags, which the order is not correct, I have a fix on https://github.com/webp-sh/webp_server_go/pull/275.

Closing this now.