log signature headers to check for actor cacheing issues

This commit is contained in:
Will Murphy 2023-06-23 11:23:37 -05:00
parent 69c4f8d8b6
commit b323cf6dc5

View file

@ -56,7 +56,7 @@ const apex = ActivitypubExpress({
})
app.use(
morgan(':remote-addr - :remote-user [:date[clf]] ":method :url HTTP/:http-version" :status Accepts ":req[accept]" ":referrer" ":user-agent"'),
morgan(':remote-addr - :remote-user [:date[clf]] ":method :url HTTP/:http-version" :status Sig ":req[authorization]" ":referrer" ":user-agent"'),
express.json({ type: apex.consts.jsonldTypes }),
apex,
function checkAdminKey (req, res, next) {