mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
fix: remove rate limiting on {id}/raw and {id}
This commit is contained in:
@@ -92,6 +92,7 @@ namespace SharpbinV3.Server.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
|
[EnableRateLimiting("NoLimit")]
|
||||||
[Route("{id}")]
|
[Route("{id}")]
|
||||||
public async Task<IActionResult> GetPasteByID(string id)
|
public async Task<IActionResult> GetPasteByID(string id)
|
||||||
{
|
{
|
||||||
@@ -146,6 +147,7 @@ namespace SharpbinV3.Server.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
|
[EnableRateLimiting("NoLimit")]
|
||||||
[Route("{id}/raw")]
|
[Route("{id}/raw")]
|
||||||
public async Task<IActionResult> GetRawPasteByID(string id)
|
public async Task<IActionResult> GetRawPasteByID(string id)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user