We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using this like this.
nuxt.config.ts
and using the useRecaptchaprovider for initiallize the plugin in app.vue.
but I set NUXT_RECAPTCHA_ACTIVE = false in env, so got a error of 500
Because this requires a key and I need that I can set as false so it woudn't load when I no need.
The text was updated successfully, but these errors were encountered:
Try this. useRepcaptchaProvider performs the key check when you call it. You can just add a if to prevent this
useRepcaptchaProvider
if (process.env.NUXT_RECAPTCHA_ACTIVE) { useRecaptchaProvider() } `
Sorry, something went wrong.
No branches or pull requests
Describe the feature
I am using this like this.
nuxt.config.ts
and using the useRecaptchaprovider for initiallize the plugin in app.vue.
but I set NUXT_RECAPTCHA_ACTIVE = false in env, so got a error of 500
![image](https://private-user-images.githubusercontent.com/134484079/260204324-1218ee8e-98d6-49d6-a169-9c870fca7c80.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NTkwMDQsIm5iZiI6MTcyNDU1ODcwNCwicGF0aCI6Ii8xMzQ0ODQwNzkvMjYwMjA0MzI0LTEyMThlZThlLTk4ZDYtNDlkNi1hMTY5LTljODcwZmNhN2M4MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyNVQwNDA1MDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNmU2ZDZlZWYwZTgxNmU5YmJjOWE0YzNjMzY2MDlmYjBkZWRiNTFiN2QxYjQ2OTgwNzc5NTc4ZDc5NmQ0NTMyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.PtKUS557i3rJoWDwjRfCk1PUe9_GoZvWuzFVFwHnOCs)
Because this requires a key and I need that I can set as false so it woudn't load when I no need.
The text was updated successfully, but these errors were encountered: