|
@ -1,4 +1,4 @@ |
|
|
using System; |
|
|
using System.IO; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
using Microsoft.AspNetCore.SignalR; |
|
|
using Microsoft.AspNetCore.SignalR; |
|
@ -19,7 +19,7 @@ namespace Win.Sfs.SettleAccount.Controllers |
|
|
[ResponseCache(NoStore = true)] |
|
|
[ResponseCache(NoStore = true)] |
|
|
public ActionResult Index() |
|
|
public ActionResult Index() |
|
|
{ |
|
|
{ |
|
|
return File("~/index.html", "text/html"); |
|
|
return File(System.IO.File.ReadAllBytes(Path.Combine(Directory.GetCurrentDirectory(), "wwwroot", "index.html")), "text/html"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public async Task<string> Test(int seconds) |
|
|
public async Task<string> Test(int seconds) |
|
|