fix for content-type header for tag feed

This commit is contained in:
Alexander Strizhakov 2020-03-13 17:58:14 +03:00
commit 89e4b3ebbd
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
3 changed files with 15 additions and 13 deletions

View file

@ -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,