summary refs log tree commit diff
path: root/src/middlewares/GlobalRateLimit.ts
diff options
context:
space:
mode:
authorPaul Munteanu <luth@luthcode.net>2021-05-28 03:39:33 +0300
committerPaul Munteanu <luth@luthcode.net>2021-05-28 03:39:33 +0300
commitc6ab039787346f0930881ad7a5893e4ea555f852 (patch)
treea115223aa7a3d95c65e3c3432dd3df49e32b9d85 /src/middlewares/GlobalRateLimit.ts
parentMerge branch 'fosscord:master' into master (diff)
parent:construction: permissions (diff)
downloadserver-c6ab039787346f0930881ad7a5893e4ea555f852.tar.xz
Merge branch 'master' of https://github.com/fosscord/fosscord-api
Diffstat (limited to 'src/middlewares/GlobalRateLimit.ts')
-rw-r--r--src/middlewares/GlobalRateLimit.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/middlewares/GlobalRateLimit.ts b/src/middlewares/GlobalRateLimit.ts

index fc121911..7260d1a2 100644 --- a/src/middlewares/GlobalRateLimit.ts +++ b/src/middlewares/GlobalRateLimit.ts
@@ -1,5 +1,5 @@ import { NextFunction, Request, Response } from "express"; -import Config from "../util/Config"; +import { Config } from "@fosscord/server-util"; // TODO: use mongodb ttl index // TODO: increment count on serverside