diff options
author | mat <github@matdoes.dev> | 2022-12-13 21:10:27 -0600 |
---|---|---|
committer | mat <github@matdoes.dev> | 2022-12-13 21:10:27 -0600 |
commit | 1b5036220b09c9de50a5bb55852ad2bcc370a6f4 (patch) | |
tree | d1ec318f36494c29085b60711f20f7de06dd2a5d | |
parent | c951bfb32401ee7e21e256bd391230a1cd4278b7 (diff) | |
download | skyblock-api-1b5036220b09c9de50a5bb55852ad2bcc370a6f4.tar.gz skyblock-api-1b5036220b09c9de50a5bb55852ad2bcc370a6f4.tar.bz2 skyblock-api-1b5036220b09c9de50a5bb55852ad2bcc370a6f4.zip |
temporarily make it log request headers
-rw-r--r-- | src/index.ts | 1 |
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) => { |