aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/activitypub.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-24 11:38:35 +0100
committerChocobozzz <me@florianbigard.com>2020-01-24 11:38:35 +0100
commit99849607a67ff8dd3bef75b347ce39716e46f090 (patch)
tree46508d0d538ccaca9157b6a0ca9204b654c9a587 /server/middlewares/activitypub.ts
parent44d4ee4fcb7cf8beebac73f85693c09919b91e66 (diff)
downloadPeerTube-99849607a67ff8dd3bef75b347ce39716e46f090.tar.gz
PeerTube-99849607a67ff8dd3bef75b347ce39716e46f090.tar.zst
PeerTube-99849607a67ff8dd3bef75b347ce39716e46f090.zip
Remove debug messages
Diffstat (limited to 'server/middlewares/activitypub.ts')
-rw-r--r--server/middlewares/activitypub.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/middlewares/activitypub.ts b/server/middlewares/activitypub.ts
index bd3bdb076..c6d8466ac 100644
--- a/server/middlewares/activitypub.ts
+++ b/server/middlewares/activitypub.ts
@@ -55,7 +55,6 @@ async function checkHttpSignature (req: Request, res: Response) {
55 const sig = req.headers[HTTP_SIGNATURE.HEADER_NAME] as string 55 const sig = req.headers[HTTP_SIGNATURE.HEADER_NAME] as string
56 if (sig && sig.startsWith('Signature ') === true) req.headers[HTTP_SIGNATURE.HEADER_NAME] = sig.replace(/^Signature /, '') 56 if (sig && sig.startsWith('Signature ') === true) req.headers[HTTP_SIGNATURE.HEADER_NAME] = sig.replace(/^Signature /, '')
57 57
58 logger.info('coucou', { signature: req.headers[HTTP_SIGNATURE.HEADER_NAME] })
59 const parsed = parseHTTPSignature(req, HTTP_SIGNATURE.CLOCK_SKEW_SECONDS) 58 const parsed = parseHTTPSignature(req, HTTP_SIGNATURE.CLOCK_SKEW_SECONDS)
60 59
61 const keyId = parsed.keyId 60 const keyId = parsed.keyId