Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
raducristianpopa committed Dec 19, 2023
1 parent 4279a10 commit 6f5801d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions local-signatures/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,24 +75,6 @@ app.use(validatePath)
app.use(validateMethod)
app.use(createHeadersHandler)

// app.use(async (ctx: Context<Headers>) => {
// 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}`)
Expand Down

0 comments on commit 6f5801d

Please sign in to comment.