Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Nov 28, 2023
1 parent 63ad8e5 commit 270bc57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions proxy/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 270bc57

Please sign in to comment.