Skip to content

Commit e2215e1

Browse files
committed
fix: 修复漏洞
1 parent e97738e commit e2215e1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/storages/alist.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ async def express(self, hash: str, request: web.Request, response) -> Dict[str,
131131
response.headers["x-bmclapi-hash"] = hash
132132
logger.debug(data)
133133
logger.debug(response)
134-
await response.prepare(request)
135134
return {"bytes": data["data"]["size"], "hits": 1}
136135
except Exception as e:
137136
response = web.HTTPError(text=e)

0 commit comments

Comments
 (0)