Skip to content

Commit

Permalink
chore: add more paths to ignored access log & redact cookies (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas authored Aug 26, 2024
1 parent 27baf2b commit d1fb94f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ory/kratos-selfservice-ui-node",
"version": "0.19.0",
"version": "0.20.1",
"description": "A reference implementation of a selfservice UI for ORY Kratos in node.js",
"homepage": "https://github.com/ory/kratos-selfservice-ui-node#readme",
"bugs": {
Expand Down
4 changes: 4 additions & 0 deletions src/pkg/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ export const middleware = expressWinston.logger({
"/content-layout.css",
"/style.css",
"/ory-small.svg",
"/ory-logo.svg",
"/favico.png",
"/health/ready",
"/health/alive",
"/auth-layout.css",
],
})
2 changes: 1 addition & 1 deletion src/routes/500.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function formatRequest(req: Request) {
url: req.url,
httpVersion: req.httpVersion,
body: req.body,
cookies: req.cookies,
cookies: "[Redacted]",
path: req.path,
protocol: req.protocol,
query: req.query,
Expand Down

0 comments on commit d1fb94f

Please sign in to comment.