Skip to content

Commit 9bfa6f7

Browse files
committed
fix(captcha): 🐛 Update captcha configuration to use Cloudflare Turnstile
1 parent 75b22e6 commit 9bfa6f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/web/src/vitnode.api.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ export const POSTGRES_URL =
1818

1919
export const vitNodeApiConfig = buildApiConfig({
2020
captcha: {
21-
type: 'recaptcha_v3',
22-
siteKey: process.env.RECAPTCHA_SITE_KEY_v3,
23-
secretKey: process.env.RECAPTCHA_SECRET_KEY_v3,
21+
type: 'cloudflare_turnstile',
22+
siteKey: process.env.CLOUDFLARE_TURNSTILE_SITE_KEY,
23+
secretKey: process.env.CLOUDFLARE_TURNSTILE_SECRET_KEY,
2424
},
2525
plugins: [blogApiPlugin()],
2626
dbProvider: drizzle({

0 commit comments

Comments
 (0)