From b323cf6dc57b45b2f82d32c17e71dc03fb51b462 Mon Sep 17 00:00:00 2001 From: Will Murphy Date: Fri, 23 Jun 2023 11:23:37 -0500 Subject: [PATCH] log signature headers to check for actor cacheing issues --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 4088339..b181414 100644 --- a/index.js +++ b/index.js @@ -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) {