web: add support for cloudflare turnstile

This commit is contained in:
wukko
2024-08-16 00:08:57 +06:00
parent c1813aa33f
commit 384c6deced
8 changed files with 89 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ const variables = {
PLAUSIBLE_HOST: env.PUBLIC_PLAUSIBLE_HOST,
PLAUSIBLE_ENABLED: env.PUBLIC_HOST && env.PUBLIC_PLAUSIBLE_HOST,
DEFAULT_API: env.PUBLIC_DEFAULT_API,
TURNSTILE_KEY: env.PUBLIC_TURNSTILE_KEY,
}
const contacts = {