yang991178 / fluent-reader

Modern desktop RSS reader built with Electron, React, and Fluent UI
https://hyliu.me/fluent-reader/
BSD 3-Clause "New" or "Revised" License
7.79k stars 425 forks source link

Moved fetch call from rendering process to main process #633

Open jschoder opened 10 months ago

jschoder commented 10 months ago

Using the fetch-function of the renderering function can lead to a 403 depending on the configuration of the server. Using the main process for the fetch solves this problem.

jschoder commented 10 months ago

Quick note: I removed the recoding since I presume this is handled by the main fetch process. Unfortunately I couldn't find any rss feed with a different encoding. If somebody has one please add it as a comment in here and I will try and, if necessary, fix the changes.