fix: restore missing template=env.get_template in gitea_workspace_page
This commit is contained in:
@@ -455,6 +455,7 @@ async def gitea_workspace_page(request: Request):
|
|||||||
"owner": owner,
|
"owner": owner,
|
||||||
"repo": repo,
|
"repo": repo,
|
||||||
}
|
}
|
||||||
|
template = env.get_template("gitea_workspace.html")
|
||||||
resp = HTMLResponse(content=template.render(**ctx))
|
resp = HTMLResponse(content=template.render(**ctx))
|
||||||
resp.set_cookie("flowdeck_workspace", f"gitea:{owner}:{repo}", path="/", samesite="lax")
|
resp.set_cookie("flowdeck_workspace", f"gitea:{owner}:{repo}", path="/", samesite="lax")
|
||||||
return resp
|
return resp
|
||||||
|
|||||||
Reference in New Issue
Block a user