feat: add rate limiting and startup options validation

This commit is contained in:
xiong
2026-07-26 13:46:17 +08:00
parent f4783c5de3
commit 015c9b5582
9 changed files with 204 additions and 2 deletions

View File

@@ -18,5 +18,10 @@
"http://127.0.0.1:3000"
],
"AllowCredentials": false
},
"RateLimiting": {
"PermitLimit": 1200,
"WindowSeconds": 60,
"QueueLimit": 0
}
}