-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when corsHandler.origin
is RegExp[]
, it doesn't work
#497
Comments
Hey @Shana-AE I needed to revert this change as we are not sure what do to about the serializaiton/deserialization issue :( More details #492 (comment) |
Ok, you can revert it as you wish :) |
Released in 2.0.0 :) |
Version
nuxt-security: v2.0.0-rc.9
nuxt: v3.12.4
Reproduction Link
useRuntimeConfig
retrieve runtimeConfig fromprocess.env
which madeRegExp
insideorigin
beJSON.stringify
ed to{}
, socorsHandler.origin
RegExp[]
is not available now.Steps to reproduce
What is Expected?
it should work
What is actually happening?
when
corsHandler.origin
isRegExp[]
, it doesn't workThe text was updated successfully, but these errors were encountered: