jdemaeyer/brightsky

API Documentation example isn't working

Closed this issue · 2 comments

Hi,
if I try to explore the api with the documentation website https://brightsky.dev/docs/ all api calls failed and returns an error:

Response Status: Request header field Cache-Control is not allowed by Access-Control-Allow-Headers. (CORS or Network Issue)

Seems like a misconfiguration with the deployment.

Hi @bjoernh, thanks for the report!

Looks like rapidoc recently started sending the Cache-Control header, which we currently don't allow in our CORS settings.