Update index.js

This commit is contained in:
Lawin
2023-05-14 16:14:09 +01:00
committed by GitHub
parent e8ae6c4411
commit a03d14fa3b
+1 -1
View File
@@ -44,7 +44,7 @@ mongoose.connection.on("error", err => {
throw err;
});
app.use(rateLimit({ windowMs: 0.5 * 60 * 1000, max: 30 }));
app.use(rateLimit({ windowMs: 0.5 * 60 * 1000, max: 35 }));
app.use(express.json());
app.use(express.urlencoded({ extended: true }));