aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts
index 9a14d0b..298dee3 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -19,6 +19,7 @@ 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) => {