From: Chocobozzz Date: Fri, 24 Jan 2020 10:38:35 +0000 (+0100) Subject: Remove debug messages X-Git-Tag: v2.1.0-rc.1~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=99849607a67ff8dd3bef75b347ce39716e46f090;p=oweals%2Fpeertube.git Remove debug messages --- diff --git a/server/lib/job-queue/handlers/activitypub-http-unicast.ts b/server/lib/job-queue/handlers/activitypub-http-unicast.ts index 6fbd4a716..c70ce3be9 100644 --- a/server/lib/job-queue/handlers/activitypub-http-unicast.ts +++ b/server/lib/job-queue/handlers/activitypub-http-unicast.ts @@ -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, 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) { 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