mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
refactor: streamline proxy condition in playback endpoint
This commit is contained in:
@@ -139,11 +139,7 @@ async def playback(
|
||||
},
|
||||
)
|
||||
|
||||
if (
|
||||
settings.PROXY_DEBRID_STREAM
|
||||
and settings.PROXY_DEBRID_STREAM_PASSWORD
|
||||
== config["debridStreamProxyPassword"]
|
||||
):
|
||||
if should_proxy:
|
||||
return await custom_handle_stream_request(
|
||||
request.method,
|
||||
download_url,
|
||||
|
||||
Reference in New Issue
Block a user