Mastodon v4.3.0 and Jortage: Fix images not showing up
If you use Jortage [1] and you upgraded to Mastodon v4.3.0, your multimedia could stop working, because of this commit: https://github.com/mastodon/mastodon/commit/a496aeabcb28b7cc7d8a9e69bf47543c2be038c2 [2]
The redirection from pool-api.jortage.com to blob.jortage.com messes things up.
So, if you need a solution (at least for now):
1. Replace the file app/lib/contentsecuritypolicy.rb with Glitchsoc's [3] version (if you do this in the future, remember to match it with your Mastodon version).
2. Add this line to your .env.production :
EXTRA_DATA_HOSTS=https://blob.jortage.com
3. Restart all Mastodon processes.
It should start working now. Cheers!
References:
Secciones
Contacto
skrlet13 CC-BY-SA para posts