Fix dialyzer errors due to deprecated usage of put_layout/2
This commit is contained in:
parent
97c4d3bcc9
commit
518a38577b
3 changed files with 0 additions and 4 deletions
|
|
@ -112,7 +112,6 @@ defmodule Pleroma.Web.OStatus.OStatusController do
|
|||
%{data: %{"attachment" => [%{"url" => [url | _]} | _]}} <- object,
|
||||
true <- String.starts_with?(url["mediaType"], ["audio", "video"]) do
|
||||
conn
|
||||
|> put_layout(:metadata_player)
|
||||
|> put_resp_header("x-frame-options", "ALLOW")
|
||||
|> put_resp_header(
|
||||
"content-security-policy",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue