feat: add get ip endpoint

* rename handler
* change rate limit
This commit is contained in:
wancat authored and Annie Huang committed 2023-11-12 21:23:12 +08:00
1 parent 1d2ad733ed
commit 55b61dbcab
6 files changed
+22 -4

No files matched your search

+1 -1
View File
@@ -2,5 +2,5 @@ import { rateLimit } from 'express-rate-limit'
export default rateLimit({
windowMs: 60 * 1000, // 1 minute
max: 20,
max: 100,
})