Skip to content

Conversation

@ariaieboy
Copy link
Contributor

@ariaieboy ariaieboy commented Jan 14, 2025

Ok here is the problem.
In some regions spotify blocks the request to bypass it we need to use a proxy.
And for that, we need to change the ACCOUNT_URL and API_URL.
I've extended the Request class and changed those constants. I also passed my custom Request class to the web API.
But since you used self::, it's not inheritance-aware. By using static::, it will be inheritance-aware, and we can change those constants.

@ariaieboy
Copy link
Contributor Author

cc: @jwilsson

@jwilsson
Copy link
Owner

Cool! TIL. Thanks for contributing!

@jwilsson jwilsson merged commit 42edbe9 into jwilsson:main Jan 18, 2025
4 checks passed
@jwilsson
Copy link
Owner

Released in 6.2.0.

@ariaieboy ariaieboy deleted the static branch January 18, 2025 07:03
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

Successfully merging this pull request may close these issues.

2 participants