Added the ability to upload background, logo, default user avatar, instance thumbnail, and the NSFW hiding image via AdminFE
This commit is contained in:
parent
42b06d78df
commit
b7fc61e17b
7 changed files with 48 additions and 7 deletions
|
|
@ -24,4 +24,7 @@ defmodule Pleroma.Helpers.UriHelper do
|
|||
params
|
||||
end
|
||||
end
|
||||
|
||||
def maybe_add_base("/" <> uri, base), do: Path.join([base, uri])
|
||||
def maybe_add_base(uri, _base), do: uri
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue