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:
parent
b1a01743e2
commit
40744c247e
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue