New
v2.0.1
- Enhancements
- Passing a function with arity 2 as
originwill pass theconnto the function, allowing configuration based on conn (thanks @billionlaughs). - You can now pass regexes as part of the list of origins (thanks @gabrielpra1).
- Passing a function with arity 2 as
- Fixes
- Fixes an issue where the request was missing the
access-control-request-headers(thanks @zhhz for the initial report and @mfeckie for the fix).
- Fixes an issue where the request was missing the