From 120ceeda5961fdbfa01675b687ac861c5c6b0786 Mon Sep 17 00:00:00 2001 From: Soof Golan Date: Thu, 10 Oct 2024 22:55:36 +0100 Subject: [PATCH] remove trailing slash --- server/middleware/turnstile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/middleware/turnstile.py b/server/middleware/turnstile.py index ed9666c..0d690ff 100644 --- a/server/middleware/turnstile.py +++ b/server/middleware/turnstile.py @@ -33,7 +33,7 @@ async def dispatch( client = request.state.cf_http_client response = await client.post( - "/turnstile/v0/siteverify/", + "/turnstile/v0/siteverify", timeout=5, data={ "secret": CONFIG.turnstile_secret, # Our secret