diff options
author | Hakaba Hitoyo <example@example.com> | 2018-02-03 20:43:14 +0900 |
---|---|---|
committer | Hakaba Hitoyo <example@example.com> | 2018-02-03 20:43:14 +0900 |
commit | ea6d1b2b172d88b6ea47ab044813d39b053534b2 (patch) | |
tree | 264625792190d1148e3671323154d4ac14aa8450 /lib | |
parent | 15cb3f2b01dfd914fa414174602ad03b41dfa768 (diff) | |
download | pleroma-ea6d1b2b172d88b6ea47ab044813d39b053534b2.tar.gz |
move avi.png & banner.png from /priv/static/static to /priv/static/images
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/user.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 6ba2b165c..81cec8265 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -29,14 +29,14 @@ defmodule Pleroma.User do def avatar_url(user) do case user.avatar do %{"url" => [%{"href" => href} | _]} -> href - _ -> "#{Web.base_url()}/static/avi.png" + _ -> "#{Web.base_url()}/images/avi.png" end end def banner_url(user) do case user.info["banner"] do %{"url" => [%{"href" => href} | _]} -> href - _ -> "#{Web.base_url()}/static/banner.png" + _ -> "#{Web.base_url()}/images/banner.png" end end |