update nsfwCensorImage suggestion in config/description.exs #837
No reviewers
Labels
No labels
approved, awaiting change
broken setup
bug
cannot reproduce
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs change/feedback
needs docs
needs tests
not a bug
not our bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AkkomaGang/akkoma!837
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "norm/akkoma:update-nsfwCensorImage"
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?
Turns out this is also used to set the default values in adminfe, so
update this to the correct URL for the NSFW banner so that it doesn't
break if you reset this value.
It seems like the hex id bit gets generated at frontend build time. Not sure what caused it to change, but it might be more future proof to leave suggestions empty just letting the frontend’s default fallback select the currently correct path
The base file in the frontend repo is
src/assets/nsfw.pngand it’s included asimport nsfwImage from '../../assets/nsfw.png'insrc/components/attachment/attachment.jsfor use as the default fallbackbe692e3a59e4332d06b5Setting the default URL to a blank string instead so it will indeed use the fallback set in the FE