You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
553 B
23 lines
553 B
using Microsoft.AspNetCore.Hosting;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.Extensions.Configuration;
|
|
|
|
namespace WebUI
|
|
{
|
|
public class HomeController : Controller
|
|
{
|
|
private readonly IWebHostEnvironment _env;
|
|
private readonly IConfiguration _cfg;
|
|
|
|
public HomeController(IWebHostEnvironment env, IConfiguration cfg)
|
|
{
|
|
this._env = env;
|
|
this._cfg = cfg;
|
|
}
|
|
|
|
public IActionResult Index()
|
|
{
|
|
return File("~/index.html", "text/html");
|
|
}
|
|
}
|
|
} |