mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 08:04:51 +00:00
* feat(middleware-cors): allow setting cors origin with a method Signed-off-by: Franklin Lee <lee.frankliny@gmail.com> * updated method to take in ctx Signed-off-by: Franklin Lee <lee.frankliny@gmail.com> * removed if else conditional Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>