diff --git a/src/index.ts b/src/index.ts index 767cf8e..d3edff0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -24,7 +24,7 @@ const providers = makeProviders({ const app = new Hono(); function isTurnstileEnabled(context: Context) { - return (context.env?.TURNSTILE_ENABLED ?? "true") === "true" + return context.env?.TURNSTILE_ENABLED === "true" } app.use('*', (context, next) => {