Move APIs to their own folder

This commit is contained in:
Michał Gdula 2023-04-21 17:34:25 +00:00
parent 789441e636
commit 60e7078e13
13 changed files with 325 additions and 295 deletions

View file

@ -91,7 +91,7 @@
{% if current_user.picture %}
<span class="nav-pfp">
<img
src="{{ url_for('api.media', path='pfp/' + current_user.picture) }}?r=icon"
src="{{ url_for('media_api.media', path='pfp/' + current_user.picture) }}?r=icon"
alt="Profile picture"
onload="imgFade(this)"
style="opacity:0;"