forked from farhoodlabs/paperclip
fix: remove redundant bracket-notation redact path
Dot notation already covers the same key; bracket notation is a duplicate.
This commit is contained in:
@@ -28,7 +28,7 @@ const sharedOpts = {
|
||||
|
||||
export const logger = pino({
|
||||
level: "debug",
|
||||
redact: ["req.headers.authorization", "req.headers[\"authorization\"]"],
|
||||
redact: ["req.headers.authorization"],
|
||||
}, pino.transport({
|
||||
targets: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user