Skip to content
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

songs list is empty in hosted api on cloudflare, but returning data on localhost #69

Open
ashukumar2001 opened this issue Oct 13, 2024 · 2 comments

Comments

@ashukumar2001
Copy link

I have self-hosted my own API instance on cloudflare. When I request this route: /playlist?token=vw3rxyOhUs8_&mini=true&lang=hindi%2Cenglish it returns playlist details with an empty song list. but when I change the API base URL to localhost the same request returns the proper list of songs. Please help me out here

@rajput-hemant
Copy link
Owner

rajput-hemant commented Oct 13, 2024

hey @ashukumar2001,
try hosting your API instance in the India region, as it retrieves data from the JioSaavn API, which restricts certain data based on geolocation
image

@ashukumar2001
Copy link
Author

Is it possible to set the region in cloudflare workers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants