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