You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the internal webserver from gin to go's own stdlib net/http. This significantly reduces the number of dependencies and makes rewinged better extensible in the future. The format of HTTP request logs also changed: The client_id field is now client_ip, body_size is now response_size and two new fields were added: elapsed_ms and message, the latter of which is always "incoming request".
Allow setting trustedProxies. When a request comes in from a trusted proxy's IP, rewinged will use the X-Forwarded-For and X-Real-Ip headers to determine the client IP to show in the request logs. Default behavior is no trusted proxies, same as before. See #8. Thanks @1kamma!
rewinged now serves the API endpoints winget contacts at the /api route. This means the source URL configured on the winget clients has to be updated (winget source remove ... old URL and winget source add ... new URL with /api at the end).
Changelog
b74d67a remove now-unused internalizedInstallerURL value
e39ee95 internalization: fix InstallerUrl only rewritten once, serve APIs from /api route