rewrite api under single /api endpoint

This commit is contained in:
2022-05-29 17:15:49 +03:00
parent f4131b8cd7
commit a0cfb7561d
19 changed files with 119 additions and 130 deletions

View File

@ -91,7 +91,7 @@
{% if auth.username is none %}
{{ auth.control|safe }}
{% else %}
<form action="/user-api/v1/logout" method="post">
<form action="/api/v1/logout" method="post">
<button class="btn btn-link" style="text-decoration: none">logout ({{ auth.username }})</button>
</form>
{% endif %}