-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
CORS Issue with Web Client #19
Comments
can you try a I think it's set up right because gonic works with jamstash which probably does cors stuff (but maybe not?) |
Hmm, it does. Not sure what the issue is then. Here's the response from my gonic server vs my airsonic server: Airsonic:
gonic
Any ideas what could be missing / different to cause this issue? |
hmm really not sure to be honest because the only header your thingy was complaining about is your client open source? maybe I could try locally |
It is: https://github.com/alex-phillips/qooxtunes For ease of use, you can spin it up in docker with the following:
|
Just FYI - the UI mimics old school iTunes, so it makes a TON of API calls to the backend server on startup to get the entire library worth of information (depending on the size of your library). Just fair warning :-P |
Have you had a chance to check this out? I can send you a link of my running UI instance if that'll help troubleshoot. |
hi! sorry it's taken so long. I grabbed qooxtunes (looks very cool) it seems the cors errors were only happening for views which are implemented yet (getStarred) because my NotFoundHandler (for the subsonic code 70) wasn't using the cors, or any other middleware. funnily enough, this is already fixed on this branch: which I hope to merge very shortly. see #14 |
@sentriz Great! Thanks for the update! Looking forward to the merge. |
hey that change should be on docker hub now. please re-open or make a new issue if something else has gone wrong. thanks! |
I wrote a subsonic-compatible web UI which works great with Airsonic. I'm sure it would also work with gonic, but it looks like I'm getting some CORS issues in the browser.
Would something like this be an easy fix? It looks like all of the errors in my console are for the
getAlbum.view
endpoint?The text was updated successfully, but these errors were encountered: