forked from mirror/pixelfed
Fix atom media mime type
This commit is contained in:
parent
1ae381b4b9
commit
8bd39801c2
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
</content>
|
</content>
|
||||||
<link rel="alternate" href="{{ $item['url'] }}" />
|
<link rel="alternate" href="{{ $item['url'] }}" />
|
||||||
<summary type="html">{{ $item['content'] }}</summary>
|
<summary type="html">{{ $item['content'] }}</summary>
|
||||||
<media:content url="{{ $item['media_attachments'][0]['url'] }}" type="image/png" medium="image" />
|
<media:content url="{{ $item['media_attachments'][0]['url'] }}" type="{{ $item['media_attachments'][0]['mime'] }}" medium="image" />
|
||||||
</entry>
|
</entry>
|
||||||
@endforeach
|
@endforeach
|
||||||
</feed>
|
</feed>
|
||||||
|
|
Loading…
Reference in a new issue