Mastodon v4.3.0 and Jortage: Fix images not showing up
October 2024 ยท 1 minute read
Posted in: Mastodon, Jortage, Libre Software,
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:
HTML [1] Jortage
HTML [2] https://github.com/mastodon/mastodon/commit/a496aeabcb28b7cc7d8a9e69bf47543c2be038c2
HTML [3] Glitchsoc's
Secciones:
DIR Home
DIR Posts (Feed)
DIR Casa
Links:
HTML Mail
DIR Home
skrlet13 CC-BY-SA para posts
___________________________________________________________________
Gophered by Gophernicus/3.1.1 on OpenBSD/amd64 7.7