From 4f079ccf4d3e786fe45ccea73b809ede5ad481e0 Mon Sep 17 00:00:00 2001 From: Ahmad <103906421+ahmadk953@users.noreply.github.com> Date: Fri, 27 Dec 2024 18:41:00 -0500 Subject: [PATCH] Update Rules for Arcjet --- middleware.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/middleware.ts b/middleware.ts index 754ab95..b1193e5 100644 --- a/middleware.ts +++ b/middleware.ts @@ -11,7 +11,13 @@ const aj = arcjet .withRule( detectBot({ mode: 'LIVE', - allow: ['CATEGORY:SEARCH_ENGINE'], + allow: [ + 'CATEGORY:SEARCH_ENGINE', + 'CATEGORY:VERCEL', + 'CATEGORY:MONITOR', + 'CATEGORY:PREVIEW', + 'CATEGORY:OPTIMIZER', + ], }) );