summary refs log tree commit diff
path: root/ModAS.Server/Controllers/HomeController.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2023-12-31 12:00:40 +0100
committerRory& <root@rory.gay>2023-12-31 12:00:40 +0100
commitc5b72e6f002a637d542068be88d70936150c8818 (patch)
treec7d7a5c99329e88bce47b60b566b8398c0dd4a68 /ModAS.Server/Controllers/HomeController.cs
parentRoom query (diff)
downloadModAS-c5b72e6f002a637d542068be88d70936150c8818.tar.xz
Add auth, start of commit script
Diffstat (limited to 'ModAS.Server/Controllers/HomeController.cs')
-rw-r--r--ModAS.Server/Controllers/HomeController.cs11
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