We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46be033 commit 62ea258Copy full SHA for 62ea258
web_src/js/features/mcaptcha.js
@@ -1,11 +1,12 @@
1
export async function initMcaptcha() {
2
const siteKeyEl = document.querySelector('.m-captcha');
3
-
4
if (!siteKeyEl) {
5
return;
6
}
+
7
const {default: mCaptcha} = await import(/* webpackChunkName: "mcaptcha-vanilla-glue" */'@mcaptcha/vanilla-glue');
8
const siteKey = siteKeyEl.getAttribute('data-sitekey');
9
10
mCaptcha.default({
11
siteKey: {
12
instanceUrl: new URL('http://localhost:7000'),
0 commit comments