From 270bc5785583673afec2236730e5e69e91aedd92 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Tue, 28 Nov 2023 13:35:52 +0000 Subject: [PATCH] update --- proxy/server.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxy/server.js b/proxy/server.js index ab5d3837..680cb11c 100644 --- a/proxy/server.js +++ b/proxy/server.js @@ -24,13 +24,13 @@ const corsOptions = { // Rate limiting middleware -const limiter = rateLimit({ +/*const limiter = rateLimit({ windowMs: 15 * 60 * 1000, // 15 minutes max: 100, // limit each IP to 100 requests per windowMs }); - +*/ // Apply the rate limiter to all requests -app.use(limiter); +//app.use(limiter); // Proxy endpoint app.get("/proxy", async (req, res) => {