Skip to content

Commit a1836af

Browse files
authored
Merge pull request #11 from Geode-solutions/fix_recaptcha_url
Test recaptcha
2 parents e462da2 + 0de0b83 commit a1836af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/Launcher.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ onMounted(() => {
4646
4747
async function submit_recaptcha (token) {
4848
try {
49-
const config = useRuntimeConfig()
50-
const response = await $fetch.raw(`${config.public.SITE_URL}/.netlify/functions/recaptcha?token=${token}`)
49+
const response = await $fetch.raw(`/.netlify/functions/recaptcha?token=${token}`)
5150
cloud_store.$patch({ is_captcha_validated: response.status == 200 })
5251
recaptcha.reset()
5352
} catch (error) {

0 commit comments

Comments
 (0)