From 9dfcb0d48248a205c39a8dacfb3c8380001b0c4a Mon Sep 17 00:00:00 2001 From: Volnei Munhoz Date: Thu, 12 Feb 2026 17:13:01 -0300 Subject: [PATCH] fix: include locale-prefixed paths in botid client-side protection (#27910) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- apps/web/instrumentation-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/instrumentation-client.ts b/apps/web/instrumentation-client.ts index 20bd096f2e..5ef6015b9e 100644 --- a/apps/web/instrumentation-client.ts +++ b/apps/web/instrumentation-client.ts @@ -59,7 +59,7 @@ if ( initBotId({ protect: [ { - path: "/api/book/event", + path: "*/api/book/event", method: "POST", }, ],