More proxy client tweaks
This commit is contained in:
parent
73dceee0f5
commit
7d3fc35a24
1 changed files with 0 additions and 1 deletions
|
@ -1318,7 +1318,6 @@ async def serve_proxy_media_resized(
|
||||||
logger.info(f"failed to proxy {url}, got {proxy_resp.status_code}")
|
logger.info(f"failed to proxy {url}, got {proxy_resp.status_code}")
|
||||||
await proxy_resp.aclose()
|
await proxy_resp.aclose()
|
||||||
return PlainTextResponse(
|
return PlainTextResponse(
|
||||||
"proxy error",
|
|
||||||
status_code=proxy_resp.status_code,
|
status_code=proxy_resp.status_code,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue