provide routes for url_for

This commit is contained in:
deflax 2024-01-19 04:30:09 +02:00
parent 9e6b431091
commit 27fd0b9015

View file

@ -11,8 +11,8 @@
<div>
{% for thumbnail in thumbnails %}
<a href="{{ url_for('video', filename=thumbnail[:-4]) }}">
<img src="{{ url_for('thumb', filename=thumbnail) }}" alt="Thumbnail">
<a href="{{ url_for('video_watch_route', file_name_no_extension=thumbnail[:-4]) }}">
<img src="{{ url_for('thumb_route', file_name=thumbnail) }}" alt="Thumbnail">
</a>
{% endfor %}
</div>