Skip to content

Commit

Permalink
debug: log headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Badmuts committed Feb 8, 2024
1 parent eabfe22 commit 309c187
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/cms/app.js
Expand Up @@ -55,6 +55,12 @@ const aposServer = {};

app.use(express.static('public'));

app.use(function(req, res, next) {
console.log({
headers: req.headers
})
next()
})

app.set('trust proxy', true);

Expand Down

1 comment on commit 309c187

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Published new image: openstad/frontend:debug-headers-309c187

Please sign in to comment.