Suwayomi / Suwayomi-WebUI

Mozilla Public License 2.0
105 stars 48 forks source link

fix(manifest.json): fetch the manifest.json and cache when the app first load to eliminate 401 when using a reverse proxy like nginx #732

Closed taos15 closed 4 months ago

taos15 commented 4 months ago

This pull request fixes the issue where the manifest.json was not being fetched and cached when the app first loaded, causing a 401 error when using a reverse proxy like nginx. The fetchAndCacheManifest function has been added to the App component's useEffect hook to fetch and cache the manifest.json.