Skip to content

Conversation

rxri
Copy link

@rxri rxri commented Jun 5, 2024

Better version of 6edf223
CosmosAsync handles the token for api.spotify.com for ya on all versions, and the getArtistInfo can be fetched through GraphQL so the code looks better

@rxri rxri changed the title fix(fullscreen/WebAPI): use GraphQL and CosmosAsync fix(WebAPI): use GraphQL and CosmosAsync Jun 5, 2024
@rxri rxri changed the title fix(WebAPI): use GraphQL and CosmosAsync feat(WebAPI): use GraphQL and CosmosAsync Jun 5, 2024
@daksh2k
Copy link
Owner

daksh2k commented Jun 5, 2024

HI @rxri, I faced some issues before with CosmosAsync, that's why I was using fetch for web requests and Cosmos for others.
But seems like that shouldn't be the case anymore,
also had one doubt are web requests routed through the proxy or directly fetched from the URL?

@rxri
Copy link
Author

rxri commented Jun 5, 2024

Requests to Spotify API and to spclient.wg are not routed via cors proxy

@daksh2k
Copy link
Owner

daksh2k commented Jun 5, 2024

Okay, sounds good, I'll test locally and merge if everything works well in some time.
Thanks for the contribution.

@daksh2k daksh2k closed this Jul 20, 2024
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