summary refs log tree commit diff
path: root/src/middlewares/GlobalRateLimit.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/middlewares/GlobalRateLimit.ts')
-rw-r--r--src/middlewares/GlobalRateLimit.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/middlewares/GlobalRateLimit.ts b/src/middlewares/GlobalRateLimit.ts

index c729987a..33dc5e0f 100644 --- a/src/middlewares/GlobalRateLimit.ts +++ b/src/middlewares/GlobalRateLimit.ts
@@ -6,6 +6,8 @@ import { db } from "fosscord-server-util"; // TODO: increment count on serverside export async function GlobalRateLimit(req: Request, res: Response, next: NextFunction) { + return next(); + // TODO: use new db mongoose models if (!Config.get().limits.rate.ip.enabled) return next(); const ip = getIpAdress(req);