Repository navigation
cors: v2.0.1
@routup/cors2.0.1 is a maintenance release covering the changes since 2.0.0, with an updated Routup peer dependency.
👀 Highlights
⬆️ Routup 6.1 baseline
The routup peer dependency moves from ^6.0.0 to ^6.1.0. If you are still on Routup 6.0.x, update it alongside the plugin. This release does not change the CORS options or preflight behavior; the CORS source changes are formatting and an equivalent origin-check simplification.
⚠️ Heads-Up Before Upgrading
| Change | What to do |
|---|---|
routup now requires ^6.1.0 |
Upgrade Routup 6.0.x before using this patch. |
⬆️ Upgrading
npm install @routup/cors@2.0.1 routup@^6.1.0Your existing CORS configuration can stay as it is. See the CORS README at this tag for usage and options.