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

namespace ModAS.Server.Controllers;

[ApiController]
public class HomeController : Controller {
    private readonly ILogger<HomeController> _logger;

    public HomeController(ILogger<HomeController> logger) {
        _logger = logger;
    }

    [HttpGet("/_matrix/_modas")]
    public IActionResult Index() {
        //return wwwroot/index.html
        return LocalRedirect("/index.html");
    }
}