You have sent too many requests!
+diff --git a/src/FastBlog.Web/Controllers/TooManyRequestsController.cs b/src/FastBlog.Web/Controllers/TooManyRequestsController.cs new file mode 100644 index 0000000..f7a43ee --- /dev/null +++ b/src/FastBlog.Web/Controllers/TooManyRequestsController.cs @@ -0,0 +1,12 @@ +using Microsoft.AspNetCore.Mvc; + +namespace FastBlog.Web.Controllers; + +public class RateLimitController : Controller +{ + [HttpGet("/RateLimited")] + public IActionResult Index() + { + return View(); + } +} \ No newline at end of file diff --git a/src/FastBlog.Web/HtmxAttribute.cs b/src/FastBlog.Web/HtmxAttribute.cs new file mode 100644 index 0000000..bb708b4 --- /dev/null +++ b/src/FastBlog.Web/HtmxAttribute.cs @@ -0,0 +1,6 @@ +namespace FastBlog.Web; + +public class HtmxAttribute +{ + +} \ No newline at end of file diff --git a/src/FastBlog.Web/Views/TooManyRequests/Index.cshtml b/src/FastBlog.Web/Views/TooManyRequests/Index.cshtml new file mode 100644 index 0000000..4dec476 --- /dev/null +++ b/src/FastBlog.Web/Views/TooManyRequests/Index.cshtml @@ -0,0 +1,12 @@ +@{ + ViewBag.Title = "Rate limit exceeded"; +} + +
You have sent too many requests!
+