From 40744c247ef2507e89502fd100759f0c05984746 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Tue, 28 Jun 2022 17:01:32 +0200 Subject: [PATCH] Fix docs endpoint --- advlabdb/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advlabdb/routes.py b/advlabdb/routes.py index d66e8e8..e6ed055 100644 --- a/advlabdb/routes.py +++ b/advlabdb/routes.py @@ -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")