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.
2 parents e462da2 + 0de0b83 commit a1836afCopy full SHA for a1836af
components/Launcher.vue
@@ -46,8 +46,7 @@ onMounted(() => {
46
47
async function submit_recaptcha (token) {
48
try {
49
- const config = useRuntimeConfig()
50
- const response = await $fetch.raw(`${config.public.SITE_URL}/.netlify/functions/recaptcha?token=${token}`)
+ const response = await $fetch.raw(`/.netlify/functions/recaptcha?token=${token}`)
51
cloud_store.$patch({ is_captcha_validated: response.status == 200 })
52
recaptcha.reset()
53
} catch (error) {
0 commit comments