The API is not CORS-enabled.

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
leonekmi
Posts: 2
Joined: Wed Nov 28, 2018 3:39 pm

The API is not CORS-enabled.

Postby leonekmi » Wed Nov 28, 2018 3:43 pm

Hey everyone,

In my context, i need to pass the CORS check, which i cannot because the preflight is failing because the CORS header is not present. Can you please add it to make my software work. (https://github.com/leonekmi/scrobbly)

Thanks!

leonekmi
Posts: 2
Joined: Wed Nov 28, 2018 3:39 pm

Re: The API is not CORS-enabled.

Postby leonekmi » Wed Nov 28, 2018 4:09 pm

For those who are searching a workaround, https://tvdbapiproxy.leonekmi.fr/swagger is a reverse proxy that is CORS-friendly. Feel free to use it. It will be running as longer as necessary.