summary refs log tree commit diff
path: root/ModAS.Server/Controllers/HomeController.cs
blob: eb17966d53dae3ae4cf910dffcf84f79e0d29279 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;

namespace ModAS.Server.Controllers;

/// <summary>
///    Manages the visual homepage.
/// </summary>
[ApiController]
public class HomeController : Controller {
    /// <inheritdoc cref="HomeController"/>
    [HttpGet("/_matrix/_modas")]
    public IActionResult Index() {
        return LocalRedirect("/index.html");
    }
}