diff --git a/index.py b/index.py index 72ea095..3aeb927 100644 --- a/index.py +++ b/index.py @@ -86,7 +86,7 @@ async def handle_file(request: Request) -> FileResponse: if not name or not key: return Response(status_code=400) - info: Dict = flist.get("name", {}) + info: Dict = flist.get(name, {}) if not info: return Response(status_code=404)