Fix icon paths. #17
Loading…
Reference in New Issue
No description provided.
Delete Branch "fix-icons"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Instead of having /srv/pleroma/static/static I moved icons to /srv/pleroma/static/instance/ I think it makes more sense that way.
I'm not sure @muppeth . If you read this https://docs.akkoma.dev/stable/configuration/static_dir/ it says
Note the extra static folder for the default logo.png location
andIf you want to give a brand to your instance, You can change the logo of your instance by uploading it to the static directory $static_dir/static/logo.png
So it seems to be we have to have those 2 static dirs, though it looks weird. But perhaps I get all this wrong...
Since we use only mangane (for now at least) and logo path is set to variable, this should just work. I could run it on prod prior merging to make sure it works.
I changed PWA icon back to
pleroma_data_dir
I played it in prod and works fine.
@ -77,3 +65,3 @@
copy:
src: '{{ pleroma_extra_files_path }}/logo-512.png'
dest: '{{ pleroma_data_dir }}/static/static/logo-512.png'
dest: '{{ pleroma_data_dir }}/static/logo-512.png'
any reason why this one is not changed to
/static/instance
like this other?As far as I saw in the documentation akkoma checks for the icon in this place. the other one can be specified as to place in mangane config