I only want the swagger endpoint to allow cross-origins requests, but sinatra-cross_origin only has enable :cross_origin to enable it everywhere, or cross_origin inside a route definition to enable it locally. But the route definition is inside this gem.
I only want the swagger endpoint to allow cross-origins requests, but
sinatra-cross_origin
only hasenable :cross_origin
to enable it everywhere, orcross_origin
inside a route definition to enable it locally. But the route definition is inside this gem.How can it set it up this way?