feat(scheduling): pluggable captcha (Turnstile) on public booking
This commit is contained in:
@@ -18,6 +18,10 @@ export default defineNuxtConfig({
|
||||
public: {
|
||||
siteUrl: process.env.NUXT_PUBLIC_SITE_URL
|
||||
|| (process.env.NODE_ENV === 'production' ? 'https://booking.dezky.eu' : 'http://localhost:3000'),
|
||||
// Cloudflare Turnstile site-key. When set, the booking form renders a
|
||||
// captcha widget and sends its token with the booking POST. Server-side
|
||||
// enforcement is gated independently by TURNSTILE_SECRET on platform-api.
|
||||
turnstileSiteKey: process.env.NUXT_PUBLIC_TURNSTILE_SITE_KEY || '',
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user