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

namespace WebApplication1.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");
    }
}