Custom CORS

Is there a way to enable cors at the GraphQL endpoints?

I would also like to know if this is possible. Currently looking into a graphql CDN (fastql.io), and the presence of the default access-control-allow-origin: * is causing issues and I would like to be able to override it.