Last active
October 5, 2022 06:15
-
-
Save cp-sumi-k/07af97a47198b673cf88e2a811a54041 to your computer and use it in GitHub Desktop.
https://blog.canopas.com/integrate-google-recaptcha-enterprise-using-vue-js-and-golang-60a9335e80ac - recaptcha-script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let recaptchaScript = document.createElement("script"); | |
recaptchaScript.setAttribute( | |
"src", | |
"https://www.google.com/recaptcha/enterprise.js?render=" + import.meta.env.VITE_RECAPTCHA_SITE_KEY | |
); | |
recaptchaScript.setAttribute("async", "true"); | |
recaptchaScript.setAttribute("defer", "true"); | |
document.head.appendChild(recaptchaScript); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment