Skip to content

Commit

Permalink
Automatic update to new version.
Browse files Browse the repository at this point in the history
  • Loading branch information
thaibault committed Mar 30, 2023
1 parent d295034 commit 4e75038
Show file tree
Hide file tree
Showing 2 changed files with 590 additions and 546 deletions.
7 changes: 4 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ const onIncomingMessage = (
void (async ():Promise<void> => {
void logging.info(
`|${'-'.repeat(80 - 2)}|\nStart processing`,
`${bufferedRequest.method} request: ${bufferedRequest.url}\n${bufferedRequest}`
`${bufferedRequest.method} request: ${bufferedRequest.url}\n` +
(bufferedRequest as unknown as string)
)

// NOTE: We have to wait until client request is fully buffered.
Expand Down Expand Up @@ -97,8 +98,8 @@ const onIncomingMessage = (

void logging.info(
`\nEnd processing`,
`${bufferedRequest.method} request: ${bufferedRequest.url}\n${bufferedRequest}` +
`|${'-'.repeat(80 - 2)}|`
`${bufferedRequest.method} request: ${bufferedRequest.url}\n` +
`${bufferedRequest as unknown as string}|${'-'.repeat(80 - 2)}|`
)
})()
}
Expand Down
Loading

0 comments on commit 4e75038

Please sign in to comment.