forked from xiongyuxing/tiku-backend.net
feat: add rate limiting and startup options validation
This commit is contained in:
@@ -18,5 +18,10 @@
|
||||
"http://127.0.0.1:3000"
|
||||
],
|
||||
"AllowCredentials": false
|
||||
},
|
||||
"RateLimiting": {
|
||||
"PermitLimit": 1200,
|
||||
"WindowSeconds": 60,
|
||||
"QueueLimit": 0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user