Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
No 'Access-Control-Allow-Origin' header is present on the requested resource #2818
Jackett version: 0.8.815.0
I'm trying to write a simple web app, which sends HTTP requests to the Jackett API. With each GET request I get the error:
Of course I've done some Googling and the problem seems to be the Cross-Origin Resource Sharing mechanism. The solution is to set the Access-Control-Allow-Origin header for every response from the Jackett server to my web app IP address.
How can I accomplish this?
Closing this issue already. Got it working with a reverse proxy using Apache. With this config:
Reopening this as an enhancement request.
We should add an option to set the header correctly.
Simply setting Access-Control-Allow-Origin to * is a bad idea. This will allow any other website to steal cookies, passkeys, etc. from jackett via cross site scripting. You should set it to the corresponding URL used by your application.