add info page for files

This commit is contained in:
2026-04-01 20:39:25 +02:00
parent cf489c9f4a
commit 5bbc100d83
3 changed files with 207 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ async def file_info(file_id, user):
if not file_data:
abort(404)
access_data = await current_app.convex.get_file_access(file_id=file_id) or []
access_data = await current_app.convex.get_file_access(file_id=file_id, user_id=user["sub"]) or []
share_url = request.url_root.rstrip("/") + f"/-{file_id}"
return await render_template(
"views/webpage/files/info.htm",