mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-04-16 17:32:20 +00:00
fix(media): add streamproxy condition for ashdi.vip stream handling
The ashdi.vip stream handling now requires the streamproxy configuration to be enabled before applying custom headers. This prevents unintended header modifications when the proxy is not configured.
This commit is contained in:
parent
7451df2c27
commit
82ada61367
@ -57,7 +57,7 @@ namespace CikavaIdeya.Controllers
|
||||
List<HeadersModel> streamHeaders = null;
|
||||
bool forceProxy = false;
|
||||
|
||||
if (streamLink.Contains("ashdi.vip", StringComparison.OrdinalIgnoreCase))
|
||||
if (streamLink.Contains("ashdi.vip", StringComparison.OrdinalIgnoreCase) && init.streamproxy)
|
||||
{
|
||||
streamHeaders = new List<HeadersModel>()
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user