From 279abe89d992fa5b7c9b1e99830fbf646de60c91 Mon Sep 17 00:00:00 2001 From: Aidan Date: Thu, 17 Apr 2025 17:49:17 -0400 Subject: [PATCH] hf: didn't mean to exclude .example file --- .gitignore | 2 +- ratelimit.json.example | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 ratelimit.json.example diff --git a/.gitignore b/.gitignore index 249f09c..8b225f2 100644 --- a/.gitignore +++ b/.gitignore @@ -137,7 +137,7 @@ drizzle/ bun.lockb migrate.txt db.sqlite3 -ratelimit.json.example +ratelimit.json # Docker docker-compose.yml \ No newline at end of file diff --git a/ratelimit.json.example b/ratelimit.json.example new file mode 100644 index 0000000..87128d4 --- /dev/null +++ b/ratelimit.json.example @@ -0,0 +1,10 @@ +{ + "/list": { + "windowMs": 60000, + "limit": 20 + }, + "/add": { + "windowMs": 60000, + "limit": 10 + } +} \ No newline at end of file