public IActionResult Index() { //read config if (!ConfigUtil.hasInitial()) { return(RedirectToAction("Config")); } return(Content(ResourceUtil.GetResource("static/index.html"), "text/html")); //return View();// Content("db backup index"); }
public IActionResult Login() { return(Content(ResourceUtil.GetResource("static/login.html"), "text/html")); }
public IActionResult GetResource(string fileName) { return(Content(ResourceUtil.GetResource(fileName))); }
public IActionResult Config() { return(Content(ResourceUtil.GetResource("static/config.html"), "text/html")); }