-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting cors policy error #641
Comments
I am getting same. I tried it many ways. When I used postman with referer header it gives .ts segmented value and in the devtools it is showing set referer header denied. I made a project a few days back back then it does not require this header. Gogoanime probably blocked adding this header idk maybe 🥲 |
The issue can be fixed with a proxy. Here's a proxy that works for gogoanime m3u8: https://github.com/JulzOhern/GOGOANIME-PROXY |
How I can use this. Give me a general overview, like which url i have to send 'www.aznet...' and which end point. In consumet utils folder there is m3u8 proxy that also give cors issue. Help me out |
/hls-proxy?url=https://your-m3u8-link Make sure to set BASE_URL in .env file either as http://localhost:port. Or in deployment set environment variable as your proxy domain |
you have discord or some thing .... |
Access to XMLHttpRequest at 'https://www115.anzeat.pro/streamhls/a3407edcf6647e3067c47f54a3eb87ad/ep.7.1731940264.m3u8' from origin 'https://.......' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://s3embtaku.pro' that is not equal to the supplied origin.
www115.anzeat.pro/streamhls/a3407edcf6647e3067c47f54a3eb87ad/ep.7.1731940264.m3u8:1
haigakura-episode-7:1 Access to XMLHttpRequest at 'https://www115.anzeat.pro/streamhls/a3407edcf6647e3067c47f54a3eb87ad/ep.7.1731940264.m3u8' from origin 'https:.........' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://s3embtaku.pro' that is not equal to the supplied origin.
xhr-loader.ts:134
e.loadInternal @ xhr-loader.ts:134
setTimeout
e.readystatechange @ xhr-loader.ts:220
can anyone help me with this
The text was updated successfully, but these errors were encountered: