fix for content-type header for tag feed
This commit is contained in:
parent
91870c8995
commit
89e4b3ebbd
3 changed files with 15 additions and 13 deletions
|
|
@ -20,7 +20,7 @@ defmodule Pleroma.Web.Feed.TagController do
|
|||
|> ActivityPub.fetch_public_activities()
|
||||
|
||||
conn
|
||||
|> put_resp_content_type("application/atom+xml")
|
||||
|> put_resp_content_type("application/#{format}+xml")
|
||||
|> put_view(FeedView)
|
||||
|> render("tag.#{format}",
|
||||
activities: activities,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue