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">
|
<dl class="entity_photo">
|
||||||
<dt>Photo</dt>
|
<dt>Photo</dt>
|
||||||
<dd>
|
<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>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl class="entity_note">
|
<dl class="entity_note">
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ module Diaspora
|
||||||
<id>#{@user.public_url}</id>
|
<id>#{@user.public_url}</id>
|
||||||
<title>#{@user.real_name}</title>
|
<title>#{@user.real_name}</title>
|
||||||
<link rel="alternative" type="text/html" href="#{@user.public_url}"/>
|
<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>
|
</activity:subject>
|
||||||
XML
|
XML
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue