1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +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")) return redirect(url_for("security.login"))
if current_user.login_count == 1: if current_user.login_count == 1:
url = url_for(endpoint_base + ".docs_view") url = url_for(endpoint_base + "_docs.index")
else: else:
url = url_for(endpoint_base + ".index") url = url_for(endpoint_base + ".index")