Fix preferred frontends #7911
No reviewers
Labels
No labels
AP C2S
AdminAPI
Breaking API
Breaks existing config
Check if still valid
Data Protection
Do not merge
Document in the changelog
Doing
Feature Request / Enhancement
MastoAPI
NL2
NL4
OStatus
OTP Releases
Refactor
Security
To Do
TwitterAPI
bug
complicated
confirmed
deps
discussion
documentation
easy
feature: to be merged in stable
fix: to be merged in stable
incident
needs to be backported to maint
needs-changes
needs-info
needs-review
performance
regression
unclear
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pleroma/pleroma!7911
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "phnt/pleroma:fix-preferred-frontend"
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?
After InstanceStatic plug was modified to return 404 on missing static media instead of returning FE, preferred frontends stopped working. This moves the missing static media logic into a separate plug at the end of the static chain.
Checklist
changelog.ddirectory, create a file named<code>.<type>.Closes #7922
f6cda465e13373d90a1d3373d90a1d20d05f1a3fWIP: Fix preferred frontendsto Fix preferred frontends#7922 might be related?
Note: The last Plug.Static call at "/" is still needed. Without it the TOS override and cache header tests fail.
3c66aad51bac25af7b29ac25af7b296ec30bbba26ec30bbba2a71ee6c86aa71ee6c86a1d6664b1f4