From 2b5084cf5f48fb274a66e5c28b38d1894b2f2433 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 28 Nov 2025 10:35:35 +0000 Subject: [PATCH] refactor(index): remove redundant regex non-capture group Signed-off-by: Frazer Smith --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3fd3674..e2e91ec 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,7 @@ const createError = require('@fastify/error') * The scheme name is "Basic". * @see https://datatracker.ietf.org/doc/html/rfc7617#section-2 */ -const authScheme = '(?:basic)' +const authScheme = 'basic' /** * The BWS rule is used where the grammar allows optional whitespace * only for historical reasons. A sender MUST NOT generate BWS in