#18: Proxy more images

This commit is contained in:
pluja 2020-09-04 07:54:04 +02:00
parent 6865455e7c
commit f7b0c3df40
3 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<div class="card">
<div class="image">
<img alt="Thumbnail" src="/img/{{video.videoThumb}}">
<img alt="Thumbnail" src="/img/{{video.videoThumb.replace('/', '~')}}">
</div>
<div class="content">
<a class="video-title break-word" href="{{url_for('watch', v=video.id, _method='GET')}}">{{video.videoTitle}}</a>

View File

@ -4,7 +4,7 @@
<div class="blue ui centered card">
<div class="content">
<div class="center aligned author">
<img alt="Avatar" class="ui avatar image" src="{{channel.avatar}}">
<img alt="Avatar" class="ui avatar image" src="/img/{{channel.avatar.replace('/', '~')}}">
</div>
<div class="center aligned header"><a href="">{{channel.name}}</a></div>
<div class="center aligned description">

View File

@ -58,8 +58,6 @@
{% include '_video_item.html' %}
{% endfor %}
</div>
{% else %}
{% include '_empty_feed.html' %}
{% endif %}
</div>
</div>