fix bug
parent
23ff1a9775
commit
a2cebee644
|
@ -14,8 +14,8 @@ def api(v):
|
||||||
|
|
||||||
@app.get("/api/docs")
|
@app.get("/api/docs")
|
||||||
@auth_desired
|
@auth_desired
|
||||||
def get_docs_page():
|
def get_docs_page(v):
|
||||||
# TODO cache
|
# TODO cache
|
||||||
root = tree.getroot()
|
root = tree.getroot()
|
||||||
|
|
||||||
return render_template("docs.html", root=tree.getroot())
|
return render_template("docs.html", root=tree.getroot(), v=v)
|
||||||
|
|
Loading…
Reference in New Issue