sinatra-cors
sinatra-cors copied to clipboard
Endpoint specific CORS settings
It would be nice to enable CORS only for specific Endpoints.
app.get 'a/url/endpoint' do enable_cors {... options ...} end
Sorry, for the slow response. I'll try to look into this over the weekend.