aboutsummaryrefslogtreecommitdiff
path: root/API/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'API/Controllers')
-rw-r--r--API/Controllers/ErrorController.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/API/Controllers/ErrorController.cs b/API/Controllers/ErrorController.cs
index 6757804..62daf40 100644
--- a/API/Controllers/ErrorController.cs
+++ b/API/Controllers/ErrorController.cs
@@ -1,13 +1,16 @@
using System;
+using System.Net;
+using Microsoft.AspNetCore.Mvc;
namespace API.Controllers
{
[ApiController]
+ [Route("/api/[controller]")]
public class ErrorController
{
public HttpStatusCode Error(Exception exception)
{
-
+ return HttpStatusCode.OK;
}
}
-} \ No newline at end of file
+}