3 Commits

Author SHA1 Message Date
Felix
31549455ee feat(apn): add magic_apn support for Ashdi streams
Introduce a new configuration option `magic_apn` that allows automatic enabling of APN for Ashdi streams when using the inner player. The configuration is an object with an `ashdi` property that specifies the host to use for Ashdi APN.

Changes include:
- Add `TryGetMagicAshdiHost` method to parse `magic_apn` configuration
- Add `NormalizeHost`
2026-04-01 18:54:32 +03:00
baliasnyifeliks
43808b819f feat(makhno): support string-based APN configuration
Allow APN configuration to be specified as a single string value
in addition to the existing boolean + host format. When 'apn' is
a string, it is used as the host and enabled is set automatically.
2026-02-04 14:06:39 +02:00
baliasnyifeliks
d80eac139f feat(makhno): add APN helper for URL proxying
Add ApnHelper class to handle APN configuration and URL wrapping functionality.
This includes methods for parsing configuration, applying settings, detecting
specific domains, and building proxied URLs with proper encoding. Also fix
regex patterns in MakhnoInvoke to correctly match URLs with double quotes.
2026-02-03 19:37:54 +02:00