@geode/opengeodeweb-front 9.13.1-rc.6 → 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 +10 -22
- package/package.json +1 -1
package/components/Recaptcha.vue
CHANGED
|
@@ -81,28 +81,16 @@
|
|
|
81
81
|
}
|
|
82
82
|
})
|
|
83
83
|
async function submit_recaptcha() {
|
|
84
|
-
const response = await $fetch(
|
|
85
|
-
|
|
86
|
-
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
email: email.value,
|
|
91
|
-
launch: launch.value,
|
|
92
|
-
},
|
|
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
|
-
console.log("response", response)
|
|
91
|
+
})
|
|
92
|
+
infra_store.$patch({
|
|
93
|
+
is_captcha_validated: response.status === 200,
|
|
94
|
+
})
|
|
107
95
|
}
|
|
108
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",
|