fix: harden share retrieval and admin visibility (#482, #480)

This commit is contained in:
Lan committed 2026-07-10 17:39:53 +08:00
1 parent 36300ef54e
commit 8d7d856c62
8 files changed
+296 -24

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ async def delete_expire_files():
if not dirs and not files:
os.rmdir(root)
await ip_limit["error"].remove_expired_ip()
await ip_limit["metadata"].remove_expired_ip()
await ip_limit["upload"].remove_expired_ip()
expire_data = await FileCodes.filter(
Q(expired_at__lt=await get_now()) | Q(expired_count=0)