diff --git a/AdventOfCode/Controllers/HomeController.cs b/AdventOfCode/Controllers/HomeController.cs new file mode 100644 index 0000000..c9d1278 --- /dev/null +++ b/AdventOfCode/Controllers/HomeController.cs @@ -0,0 +1,21 @@ +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace AdventOfCode.Controllers +{ + [ApiController] + [ApiExplorerSettings(IgnoreApi = true)] + public class HomeController : ControllerBase + { + [Route("")] + [HttpGet] + public IActionResult Index() + { + return Redirect("/swagger/Index.html"); + } + } +}