reverse proxy / uploads
This commit is contained in:
parent
52ce368562
commit
b19597f602
23 changed files with 790 additions and 280 deletions
|
|
@ -97,7 +97,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do
|
|||
{:ok, object} = ActivityPub.upload(file)
|
||||
|
||||
url = List.first(object.data["url"])
|
||||
href = url["href"] |> MediaProxy.url()
|
||||
href = url["href"]
|
||||
type = url["mediaType"]
|
||||
|
||||
case format do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue