Registry / web-framework / rack-cors

rack-cors

JSON →
library3.0.0rbrubygemsunverified

Middleware that makes Rack-based apps CORS compatible.

gem install rack-cors
INSTALL
IMPORT
SIG · RACK-CORS
R
rack-cors
web-frameworkrubyv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rack::Cors
✓ require 'rack/cors'

Enable CORS for all origins on all resources.

require 'rack/cors' use Rack::Cors do allow do origins '*' resource '*', headers: :any, methods: [:get, :post, :options] end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
rack-cors — gem install rack-cors · libregistry