serverlessworkflow / serverlessworkflow.github.io

Serverless Workflow Website
http://serverlessworkflow.io
Apache License 2.0
11 stars 20 forks source link

Unable "unsafe" CORS #161

Closed JBBianchi closed 2 years ago

JBBianchi commented 2 years ago

What would you like to be added: I would like to be o load the schemas form the website but CORS policies prevent me to do so. It would be nice to disable them.

Why is this needed: For foreign sites to load the resources.

antmendoza commented 2 years ago

That makes sense to me. Everything on this site is static so there shouldn't be any problem I think.

tsurdilo commented 2 years ago

I believe you can do pr with a "_headers" file in this repo and set headers according to:

https://docs.netlify.com/routing/headers/#syntax-for-the-headers-file https://answers.netlify.com/t/access-control-allow-origin-policy/1813