mirror of https://github.com/mastodon/mastodon
Fix account JSON/RSS not being cacheable due to wrong mime type comparison (#13116)
`request.format` is not a symbol but a `Mime::Type`, so the condition actually never matched, and a session was created even for those requests, preventing caching.pull/13124/head
parent
1314bba68a
commit
d8e9bae482
Loading…
Reference in New Issue