diff options
author | Rory& <root@rory.gay> | 2023-12-31 12:00:40 +0100 |
---|---|---|
committer | Rory& <root@rory.gay> | 2023-12-31 12:00:40 +0100 |
commit | c5b72e6f002a637d542068be88d70936150c8818 (patch) | |
tree | c7d7a5c99329e88bce47b60b566b8398c0dd4a68 /ModAS.Server/Controllers/HomeController.cs | |
parent | Room query (diff) | |
download | ModAS-c5b72e6f002a637d542068be88d70936150c8818.tar.xz |
Add auth, start of commit script
Diffstat (limited to 'ModAS.Server/Controllers/HomeController.cs')
-rw-r--r-- | ModAS.Server/Controllers/HomeController.cs | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/ModAS.Server/Controllers/HomeController.cs b/ModAS.Server/Controllers/HomeController.cs index 5fd309f..eb17966 100644 --- a/ModAS.Server/Controllers/HomeController.cs +++ b/ModAS.Server/Controllers/HomeController.cs @@ -3,17 +3,14 @@ using Microsoft.AspNetCore.Mvc; namespace ModAS.Server.Controllers; +/// <summary> +/// Manages the visual homepage. +/// </summary> [ApiController] public class HomeController : Controller { - private readonly ILogger<HomeController> _logger; - - public HomeController(ILogger<HomeController> logger) { - _logger = logger; - } - + /// <inheritdoc cref="HomeController"/> [HttpGet("/_matrix/_modas")] public IActionResult Index() { - //return wwwroot/index.html return LocalRedirect("/index.html"); } } \ No newline at end of file |