From ae9721b603202741afeca180f61e74da6061eee0 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 1 Oct 2020 18:33:58 +0200 Subject: Interesting ig --- motto/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'motto/index.js') diff --git a/motto/index.js b/motto/index.js index 77365a8..4a8ed3b 100644 --- a/motto/index.js +++ b/motto/index.js @@ -3,14 +3,13 @@ const rateLimit = require("express-rate-limit"); const db = require("../db"); const app = express.Router(); -const fs = require("fs"); - const apiLimiter = rateLimit({ windowMs: 10 * 60 * 1000, max: 100, message: "Access overflow!", }); +//const fs = require("fs"); //app.get("/sync", (req, res) => { // fs.readFile(__dirname + "/list.txt", "utf8", (err, data) => { // if (err) { -- cgit v1.2.3