aboutsummaryrefslogtreecommitdiff
path: root/API/Controllers/ErrorController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'API/Controllers/ErrorController.cs')
-rw-r--r--API/Controllers/ErrorController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/API/Controllers/ErrorController.cs b/API/Controllers/ErrorController.cs
index 792d8cd..ffe2159 100644
--- a/API/Controllers/ErrorController.cs
+++ b/API/Controllers/ErrorController.cs
@@ -6,10 +6,10 @@ using Microsoft.AspNetCore.Mvc;
namespace API.Controllers
{
[ApiController]
+ [Route("/api/[controller]")]
public class ErrorController
{
[HttpGet]
- [Route("HttpError")]
public HttpStatusCode HttpError(HttpRequestException exception)
{
Console.WriteLine("WE HERE, BOIIIIIII");