]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Remove debug messages
authorChocobozzz <me@florianbigard.com>
Fri, 24 Jan 2020 10:38:35 +0000 (11:38 +0100)
committerChocobozzz <me@florianbigard.com>
Fri, 24 Jan 2020 10:38:35 +0000 (11:38 +0100)
server/lib/job-queue/handlers/activitypub-http-unicast.ts
server/middlewares/activitypub.ts

index 6fbd4a716f84419055fb73c0b81e6a90411045c7..c70ce3be90fb80a346787391acc85b8cbb5d63a5 100644 (file)
@@ -20,8 +20,6 @@ async function processActivityPubHttpUnicast (job: Bull.Job) {
   const body = await computeBody(payload)
   const httpSignatureOptions = await buildSignedRequestOptions(payload)
 
-  logger.info('hello', { httpSignatureOptions })
-
   const options = {
     method: 'POST',
     uri,
index bd3bdb07635df8b2d950e2bfa61a31d3fdad63b4..c6d8466acda03abe664ab89a739f83d05053e0f7 100644 (file)
@@ -55,7 +55,6 @@ async function checkHttpSignature (req: Request, res: Response) {
   const sig = req.headers[HTTP_SIGNATURE.HEADER_NAME] as string
   if (sig && sig.startsWith('Signature ') === true) req.headers[HTTP_SIGNATURE.HEADER_NAME] = sig.replace(/^Signature /, '')
 
-  logger.info('coucou', { signature: req.headers[HTTP_SIGNATURE.HEADER_NAME] })
   const parsed = parseHTTPSignature(req, HTTP_SIGNATURE.CLOCK_SKEW_SECONDS)
 
   const keyId = parsed.keyId