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:
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"))
|
||||
|
||||
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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue