Skip to content

Commit

Permalink
chore: remove verbose logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwynr committed Jun 21, 2024
1 parent 1801514 commit 21ae42a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@filen/s3",
"version": "0.2.2",
"version": "0.2.3",
"description": "Filen S3",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
10 changes: 0 additions & 10 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,6 @@ export class S3Server {
public async start(): Promise<void> {
this.server.disable("x-powered-by")

this.server.use((req, _, next) => {
console.log({
method: req.method,
url: req.url,
headers: req.headers
})

next()
})

this.server.use(body)
this.server.use(asyncHandler(new Auth(this).handle))

Expand Down

0 comments on commit 21ae42a

Please sign in to comment.