This Sinatra plugin supports the full CORS spec including automatic support for CORS preflight (OPTIONS) requests. It uses CORS security best practices. The plugin logs to the default logger to guide you in setting things up properly. It will tell you why a CORS request failed and tell you how to fix it.

Required Ruby Version

>= 0

Authors

Jason Desrosiers

Versions

  1. 1.2.0 July 26, 2020 (5.5 KB)
  2. 1.1.0 October 06, 2017 (5.5 KB)
  3. 1.0.2 October 04, 2017 (5.5 KB)
  4. 1.0.1 July 30, 2017 (5.5 KB)
  5. 1.0.0 July 26, 2017 (5.5 KB)
Show all versions (10 total)

SHA 256 checksum