mirror of
https://github.com/RSSNext/Folo.git
synced 2026-10-18 13:51:00 +08:00
d8835acd02
After the API bridge moved to `net.fetch`, several main-process requests still used Node's `fetch`, which ignores the app's proxy settings: the update manifest and policy, the main-process API client, file downloads, text-to-speech, page fetching for the reader, and the Eagle, qBittorrent and custom integration requests. They now go through `net.fetch` as well. The readability package takes a `fetch` implementation for that; downloads hand it to ky. Requests that manage cookies by hand pass `credentials: "omit"`, so Chromium does not keep them too. A failed CLI login sync used to be logged with the whole command line, token included. The command is now described with the token redacted, and the command's output is scrubbed the same way. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>