diff options
author | Marvin Borner | 2020-10-01 18:33:58 +0200 |
---|---|---|
committer | Marvin Borner | 2020-10-01 18:33:58 +0200 |
commit | ae9721b603202741afeca180f61e74da6061eee0 (patch) | |
tree | ec844a55ea35d12fc1acd8c8086e77129ddf0de7 /motto | |
parent | 83007e8e3b13ee1eb0670ebd04f4530394cbffc9 (diff) |
Interesting ig
Diffstat (limited to 'motto')
-rw-r--r-- | motto/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
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) { |