I'm thinking in adding proxyUrl support in the frontend. :goose_hacker:

Currently if a request to a remote object fails - either due to CORS, or because of authorized fetch - I just display a fallback link to it.

I'm wondering if I can do a two step approach, if the request to the resource fails with 401-403 (for secure fetch) or 400 (for CORS failures) I try to redirect the request through the proxyUrl mechanism.

Only if that fails too, I fallback to something else.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://metalhead.club/users/mariusor/statuses/116068771293600466 on your instance and quote it. (Note that quoting is not supported in Mastodon.)