Skip to content

Commit 2b5084c

Browse files
authored
refactor(index): remove redundant regex non-capture group
Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
1 parent f18025a commit 2b5084c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const createError = require('@fastify/error')
1818
* The scheme name is "Basic".
1919
* @see https://datatracker.ietf.org/doc/html/rfc7617#section-2
2020
*/
21-
const authScheme = '(?:basic)'
21+
const authScheme = 'basic'
2222
/**
2323
* The BWS rule is used where the grammar allows optional whitespace
2424
* only for historical reasons. A sender MUST NOT generate BWS in

0 commit comments

Comments
 (0)