You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2024. It is now read-only.
Hi, I found it hard to test express-cors using a file based client because the origin is set to literal null (at least by Chrome), which is not a valid URL. Also, the pattern conversion you enforced make it hard to allow Any that includes above case. To kill two birds with one stone, I suggest providing an advancedMode option. When set, the input is assumed to be valid RegEx so no conversion is performed.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I found it hard to test express-cors using a file based client because the origin is set to literal null (at least by Chrome), which is not a valid URL. Also, the pattern conversion you enforced make it hard to allow Any that includes above case. To kill two birds with one stone, I suggest providing an advancedMode option. When set, the input is assumed to be valid RegEx so no conversion is performed.
The text was updated successfully, but these errors were encountered: