diff options
author | mat <27899617+mat-1@users.noreply.github.com> | 2021-04-08 14:20:13 -0500 |
---|---|---|
committer | mat <27899617+mat-1@users.noreply.github.com> | 2021-04-08 14:20:13 -0500 |
commit | 5a9fcd606a1b124496a7131ab0bead7ae1f6ec98 (patch) | |
tree | f7edddbd53f1829e44e40d9be8a7730e25754be6 | |
parent | f69969ed257c1f14694cb382572b43be711d0337 (diff) | |
download | skyblock-api-5a9fcd606a1b124496a7131ab0bead7ae1f6ec98.tar.gz skyblock-api-5a9fcd606a1b124496a7131ab0bead7ae1f6ec98.tar.bz2 skyblock-api-5a9fcd606a1b124496a7131ab0bead7ae1f6ec98.zip |
debug=false
-rw-r--r-- | build/index.js | 2 | ||||
-rw-r--r-- | src/index.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/index.js b/build/index.js index f428eb0..6d09aca 100644 --- a/build/index.js +++ b/build/index.js @@ -9,7 +9,7 @@ const hypixel_1 = require("./hypixel"); const express_rate_limit_1 = __importDefault(require("express-rate-limit")); const express_1 = __importDefault(require("express")); const app = express_1.default(); -exports.debug = true; +exports.debug = false; // 500 requests over 5 minutes const limiter = express_rate_limit_1.default({ windowMs: 60 * 1000 * 5, diff --git a/src/index.ts b/src/index.ts index 451ef95..d997cde 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ import express from 'express' const app = express() -export const debug = true +export const debug = false // 500 requests over 5 minutes const limiter = rateLimit({ |