aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-12-24 18:49:35 -0600
committermat <github@matdoes.dev>2022-12-24 18:49:35 -0600
commit30299473e6b14fc3bd8254e2a71043a9151073a5 (patch)
tree0550455aa4f716b331cd6dda4ed58b73e7fffd87
parent99197f33016e18de858d79cb13cc9ec3fb330082 (diff)
downloadskyblock-api-30299473e6b14fc3bd8254e2a71043a9151073a5.tar.gz
skyblock-api-30299473e6b14fc3bd8254e2a71043a9151073a5.tar.bz2
skyblock-api-30299473e6b14fc3bd8254e2a71043a9151073a5.zip
Revert "temporarily make it log request headers"
This reverts commit 1b5036220b09c9de50a5bb55852ad2bcc370a6f4.
-rw-r--r--src/index.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index 298dee3..9a14d0b 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -19,7 +19,6 @@ const limiter = rateLimit({
windowMs: 60 * 1000 * 5,
max: 200,
skip: (req: express.Request) => {
- console.log(req.headers)
return req.headers.key === process.env.key
},
keyGenerator: (req: express.Request) => {