4gray / iptvnator

:tv: Cross-platform IPTV player application with multiple features, such as support of m3u and m3u8 playlists, favorites, TV guide, TV archive/catchup and more.
https://iptvnator.vercel.app
MIT License
2k stars 306 forks source link

feat: added support for setting the "origin" http header. #349

Closed sapireli closed 4 months ago

sapireli commented 5 months ago

This commit adds an http origin header which is by default set to be the same as the referer without the trailing '/'. This is to support certain popular Eastern European IPTV providers.

A more elegant approach would be to define a origin header format for each channel specified in the m3u8 file. Perhaps in a future commit if i have the time.

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
iptvnator ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 14, 2024 10:03am
ghost commented 5 months ago
👇 Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/4gray/iptvnator/349/2fde6946/6dc3f28c9835d9a37bd95e5a37a8b0f5544482cc.svg)](https://app.codesee.io/r/reviews?pr=349&src=https%3A%2F%2Fgithub.com%2F4gray%2Fiptvnator) #### Legend CodeSee Map legend
codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d258089) 57.30% compared to head (6dc3f28) 57.30%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## electron #349 +/- ## ========================================= Coverage 57.30% 57.30% ========================================= Files 56 56 Lines 1574 1574 Branches 196 196 ========================================= Hits 902 902 Misses 671 671 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

4gray commented 4 months ago

Thank you for the contribution!