debug for media proxy
This commit is contained in:
parent
d052dca152
commit
7354d8958b
@ -13,6 +13,9 @@ defmodule Pleroma.Web.MediaProxy.MediaProxyController do
|
||||
with config <- Pleroma.Config.get([:media_proxy], []),
|
||||
true <- Keyword.get(config, :enabled, false),
|
||||
{:ok, url} <- MediaProxy.decode_url(sig64, url64),
|
||||
IO.inspect(sig64),
|
||||
IO.inspect(url64),
|
||||
IO.inspect(url),
|
||||
:ok <- filename_matches(params, conn.request_path, url) do
|
||||
ReverseProxy.call(conn, url, Keyword.get(config, :proxy_opts, @default_proxy_opts))
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user