1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-20 23:41:20 +00:00

Fix docs endpoint

This commit is contained in:
Mo 2022-06-28 17:01:32 +02:00
parent b1a01743e2
commit 40744c247e

View file

@ -23,7 +23,7 @@ def index():
return redirect(url_for("security.login"))
if current_user.login_count == 1:
url = url_for(endpoint_base + ".docs_view")
url = url_for(endpoint_base + "_docs.index")
else:
url = url_for(endpoint_base + ".index")