Remove debug messages
This commit is contained in:
parent
44d4ee4fcb
commit
99849607a6
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue