@geode/opengeodeweb-front 9.13.1-rc.5 → 9.13.1-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Recaptcha.vue +11 -24
- package/package.json +1 -1
package/components/Recaptcha.vue
CHANGED
|
@@ -80,30 +80,17 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
})
|
|
83
|
-
function submit_recaptcha() {
|
|
84
|
-
const response = await $fetch(
|
|
85
|
-
|
|
86
|
-
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
email: email.value,
|
|
91
|
-
launch: launch.value,
|
|
92
|
-
},
|
|
83
|
+
async function submit_recaptcha() {
|
|
84
|
+
const response = await $fetch.raw(`/.netlify/functions/recaptcha`, {
|
|
85
|
+
method: "POST",
|
|
86
|
+
body: {
|
|
87
|
+
name: name.value,
|
|
88
|
+
email: email.value,
|
|
89
|
+
launch: launch.value,
|
|
93
90
|
},
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
infra_store.$patch({
|
|
99
|
-
is_captcha_validated: response.status === 200,
|
|
100
|
-
})
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
)
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
console.log("response", response)
|
|
91
|
+
})
|
|
92
|
+
infra_store.$patch({
|
|
93
|
+
is_captcha_validated: response.status === 200,
|
|
94
|
+
})
|
|
108
95
|
}
|
|
109
96
|
</script>
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
|
|
42
42
|
"type": "module",
|
|
43
|
-
"version": "9.13.1-rc.
|
|
43
|
+
"version": "9.13.1-rc.7",
|
|
44
44
|
"main": "./nuxt.config.js",
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@geode/opengeodeweb-back": "next",
|