From 6f5801d0a54e5ffb1ae6984a4f4b397e52513a1c Mon Sep 17 00:00:00 2001 From: Radu-Cristian Popa Date: Tue, 19 Dec 2023 16:45:11 +0200 Subject: [PATCH] Remove comments --- local-signatures/index.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/local-signatures/index.ts b/local-signatures/index.ts index 744b84a6..f382a684 100644 --- a/local-signatures/index.ts +++ b/local-signatures/index.ts @@ -75,24 +75,6 @@ app.use(validatePath) app.use(validateMethod) app.use(createHeadersHandler) -// app.use(async (ctx: Context) => { -// const { body } = ctx.request -// if (!validateBody(body)) { -// ctx.throw('Invalid request body', 400) -// } - -// const headers = await createHeaders({ -// request: body, -// privateKey: BASE64_PRIVATE_KEY, -// keyId: KEY_ID, -// }) - -// delete headers['Content-Length'] -// delete headers['Content-Type'] - -// ctx.body = headers -// }) - app.listen(3000, () => { // eslint-disable-next-line no-console console.log(`Local signatures server started on port ${PORT}`)