Pleroma-fe tries to show favicon.png, but a new installation doesn't have it #185

Closed
opened 2022-10-17 08:04:06 +00:00 by ilja · 2 comments
Backend version
    3.3.1-40-g66f91335-develop

Frontend version
    2e00c190 

I did a fresh installation of Akkoma and notice next to the instance name, it should show an image, but doesn't find the image. When I do the image link is <instance.tld>/favicon.png. When I go there, I just get the fe with the error "Can't find user". This implies akkoma can't find the image on the backend, and indeed, it's not there. Adding an instance/static/favicon.png "fixes" the problem (as in, it now shows that image).

/opt/akkoma # ls instance/static
frontends   robots.txt

/opt/akkoma # ls priv/static
READ_THIS_BEFORE_TOUCHING_FILES_HERE  index.html                            robots.txt                            static-fe
images                                instance                              schemas

I assume either a default image should be added to priv/static, or there should be some logic to not try to show the image when it can't be found.

Backend version 3.3.1-40-g66f91335-develop Frontend version 2e00c190 I did a fresh installation of Akkoma and notice next to the instance name, it should show an image, but doesn't find the image. When I do the image link is `<instance.tld>/favicon.png`. When I go there, I just get the fe with the error "Can't find user". This implies akkoma can't find the image on the backend, and indeed, it's not there. Adding an `instance/static/favicon.png` "fixes" the problem (as in, it now shows that image). ```sh /opt/akkoma # ls instance/static frontends robots.txt /opt/akkoma # ls priv/static READ_THIS_BEFORE_TOUCHING_FILES_HERE index.html robots.txt static-fe images instance schemas ``` I assume either a default image should be added to `priv/static`, or there should be some logic to not try to show the image when it can't be found.

ah yeah, good point

this probably got lost in the grand "branding" task that i keep putting off - i should put a placeholder there

ah yeah, good point this probably got lost in the grand "branding" task that i keep putting off - i should put a placeholder there

Temporarily fixed via akkoma@7cfce562a9b43562bd

Temporarily fixed via akkoma@7cfce562a9b43562bd
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma-fe#185
No description provided.