UNPKG

@p-j/eapi-middleware-cors

Version:

A CORS middleware to work within an EAPI app. Check worker-eapi-template for context.

38 lines (21 loc) 1.37 kB
# @p-j/eapi-middleware-cors ## 1.2.0 ### Minor Changes - [#43](https://github.com/p-j/eapi/pull/43) [`db71477`](https://github.com/p-j/eapi/commit/db714778f0fff11313fd648b40f990557aedd0e9) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency @cloudflare/workers-types to v2.2.1 ### Patch Changes - Updated dependencies [[`db71477`](https://github.com/p-j/eapi/commit/db714778f0fff11313fd648b40f990557aedd0e9)]: - @p-j/eapi-middleware-headers@1.2.0 ## 1.1.1 ### Patch Changes - [`fcfbd31`](https://github.com/p-j/eapi/commit/fcfbd310f2debb960cccbfb785ab4885a2a82c31) Thanks [@p-j](https://github.com/p-j)! - upgrade dependencies ## 1.1.0 ### Minor Changes - [`0b9192c`](https://github.com/p-j/eapi/commit/0b9192c9ac94194b86cd93726102fb76d44c1249) [#16](https://github.com/p-j/eapi/pull/16) Thanks [@p-j](https://github.com/p-j)! - - use utility functions to handle CORS headers - update tests accordingly ### Patch Changes - Updated dependencies [[`0b9192c`](https://github.com/p-j/eapi/commit/0b9192c9ac94194b86cd93726102fb76d44c1249)]: - @p-j/eapi-middleware-headers@1.1.0 ## 1.0.0 ### Major Changes - [`afc4f40`](https://github.com/p-j/eapi/commit/afc4f40f7c750e45332b6ae23bb30180e18cc06f) [#1](https://github.com/p-j/eapi/pull/1) Thanks [@albanv](https://github.com/albanv)! - First version of the CORS middlware