mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-14 22:53:45 +02:00
6 lines
179 B
TypeScript
6 lines
179 B
TypeScript
import { MemoryStore, Store } from "express-rate-limit";
|
|
|
|
export function createStore(): Store {
|
|
const rateLimitStore: Store = new MemoryStore();
|
|
return rateLimitStore;
|
|
}
|