Fix dialyzer errors due to deprecated usage of put_layout/2

This commit is contained in:
Mark Felder 2024-01-31 13:19:34 -05:00
commit 518a38577b
3 changed files with 0 additions and 4 deletions

View file

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