feat: add get ip endpoint

* rename handler
* change rate limit
This commit is contained in:
wancat committed 2023-10-31 00:27:06 +08:00
1 parent 3b9ea9ea50
commit b9a79eb435
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,
})