Reapply "Add missing admin action files and navigation links"
This reverts commit 4d515bc400.
This commit is contained in:
@@ -39,11 +39,7 @@ function cleanup(): void {
|
||||
}
|
||||
}
|
||||
|
||||
export async function rateLimit(
|
||||
key: string,
|
||||
limit: number,
|
||||
windowMs: number,
|
||||
): Promise<RateLimitResult> {
|
||||
export async function rateLimit(key: string, limit: number, windowMs: number): Promise<RateLimitResult> {
|
||||
const now = Date.now();
|
||||
|
||||
if (redis) {
|
||||
|
||||
Reference in New Issue
Block a user