mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
feat: implement rate limiting policy for site info endpoints in Auth and Paste controllers
This commit is contained in:
@@ -148,6 +148,7 @@ namespace SharpbinV3.Server.Controllers
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[EnableRateLimiting("NoLimit")]
|
||||
[Route("info")]
|
||||
public IActionResult GetSiteInfo()
|
||||
{
|
||||
|
||||
@@ -399,6 +399,7 @@ namespace SharpbinV3.Server.Controllers
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[EnableRateLimiting("NoLimit")]
|
||||
[Route("info")]
|
||||
public IActionResult GetCreatePasteOptions()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user