prepend pod_url to image paths
This commit is contained in:
parent
91bbd607e6
commit
982f51b9c7
2 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@
|
|||
<dl class="entity_photo">
|
||||
<dt>Photo</dt>
|
||||
<dd>
|
||||
<img class="photo avatar" src="<%= @person.profile.image_url%>" width="100" height="100"/>
|
||||
<img class="photo avatar" src="<%=APP_CONFIG[:pod_url]%><%= @person.profile.image_url%>" width="100" height="100"/>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="entity_note">
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ module Diaspora
|
|||
<id>#{@user.public_url}</id>
|
||||
<title>#{@user.real_name}</title>
|
||||
<link rel="alternative" type="text/html" href="#{@user.public_url}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="100" media:height="100" href="#{@user.image_url}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="100" media:height="100" href="#{APP_CONFIG[:pod_url]}#{@user.profile.image_url}"/>
|
||||
</activity:subject>
|
||||
XML
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue