no turnstile

This commit is contained in:
evanpelle
2026-05-26 18:55:14 +01:00
parent 2d6342cd22
commit b3fb85db25
+2 -2
View File
@@ -7,7 +7,6 @@ import path from "path";
import { fileURLToPath } from "url"; import { fileURLToPath } from "url";
import { WebSocket, WebSocketServer } from "ws"; import { WebSocket, WebSocketServer } from "ws";
import { z } from "zod"; import { z } from "zod";
import { GameEnv } from "../core/configuration/Config";
import { GameType } from "../core/game/Game"; import { GameType } from "../core/game/Game";
import { import {
ClientMessageSchema, ClientMessageSchema,
@@ -428,7 +427,8 @@ export async function startWorker() {
return; return;
} }
if (ServerEnv.env() !== GameEnv.Dev) { const f = false;
if (f) {
const turnstileResult = await verifyTurnstileToken( const turnstileResult = await verifyTurnstileToken(
ip, ip,
clientMsg.turnstileToken, clientMsg.turnstileToken,