temporarily disable turnstile

This commit is contained in:
evanpelle
2026-05-03 18:50:59 -06:00
parent 3a24383e88
commit 257fb9b38e
+8 -1
View File
@@ -40,6 +40,10 @@ const workerId = parseInt(process.env.WORKER_ID ?? "0");
const log = logger.child({ comp: `w_${workerId}` });
const playlist = new MapPlaylist();
// TEMPORARY: Turnstile validation disabled while we diagnose intermittent
// invalid-input-response rejections in v31. Flip back to true to re-enable.
const TURNSTILE_ENABLED = false;
// Worker setup
export async function startWorker() {
log.info(`Worker starting...`);
@@ -428,7 +432,10 @@ export async function startWorker() {
return;
}
if (config.env() !== GameEnv.Dev) {
// TEMPORARY: Turnstile validation disabled while we diagnose
// intermittent invalid-input-response rejections in v31.
// Re-enable by flipping TURNSTILE_ENABLED back to true.
if (TURNSTILE_ENABLED && config.env() !== GameEnv.Dev) {
const turnstileResult = await verifyTurnstileToken(
ip,
clientMsg.turnstileToken,