From c7d1f6b6089b82f4f91ab3fc2e777bce64dbc119 Mon Sep 17 00:00:00 2001 From: Jens van der Wateren Date: Tue, 2 Dec 2025 15:00:08 +0100 Subject: [PATCH] fix: Update contact form --- .../theme/client/components/common/ReCaptcha.vue | 2 +- .../theme/client/components/global/ContactForm.vue | 8 ++++++++ src/.vuepress/theme/client/composables/useContactForm.ts | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/.vuepress/theme/client/components/common/ReCaptcha.vue b/src/.vuepress/theme/client/components/common/ReCaptcha.vue index 5eeb12a13..d36aff3d7 100644 --- a/src/.vuepress/theme/client/components/common/ReCaptcha.vue +++ b/src/.vuepress/theme/client/components/common/ReCaptcha.vue @@ -18,7 +18,7 @@ export default defineComponent({ const dark = useDark(); return { - RECAPTCHA_SITE_KEY: '6Lc--NkqAAAAAE7zbUTUww4HZUSZ5b5ZIvdRKVz9', + RECAPTCHA_SITE_KEY: '6LcoxR4sAAAAANGn5zTRKW8q701mdA4x0EbUomJ6', theme: computed((): string => { return dark.value ? 'dark' : 'light'; }), diff --git a/src/.vuepress/theme/client/components/global/ContactForm.vue b/src/.vuepress/theme/client/components/global/ContactForm.vue index d29ef1a29..a45632cc9 100644 --- a/src/.vuepress/theme/client/components/global/ContactForm.vue +++ b/src/.vuepress/theme/client/components/global/ContactForm.vue @@ -21,6 +21,13 @@ type="email" :label="translate('contactForm.email')" /> + + loading.value = true; try { - const response = await fetch('https://vqthadq4nvo5i2cgvxpu3xw3zm0qxquc.lambda-url.eu-central-1.on.aws', { + const response = await fetch('https://lafsu5u5wqtpr4kse7tzdue4se0shtvn.lambda-url.eu-central-1.on.aws/', { method: 'POST', headers: { Accept: 'application/json',