mirror of
https://github.com/whyour/qinglong.git
synced 2026-11-30 16:27:21 +08:00
fix: rate limit configuration saves across API mounts
This commit is contained in:
1 parent
eeefb620d1
commit
9ebcd470b0
2 files changed
+40
No files matched your search
@@ -73,6 +73,7 @@ export default (app: Router) => {
|
||||
|
||||
route.post(
|
||||
'/save',
|
||||
rateLimit({ windowMs: 60 * 1000, limit: 600 }),
|
||||
celebrate({
|
||||
body: Joi.object({
|
||||
name: Joi.string().required(),
|
||||
|
||||
Reference in new issue
Block a user