I am using angular for frontend and i have a index.html asa start page.
on main page url is looking like this:
localhost:588/index.html#/
and i want it to look like : localhost:3478/#/ or just localhost:3478/
The problem is that i n my Home controller´s Index method i return
public ActionResult Index()
{
//return File("index.html", "text/html");
//return ActionResult("~/index.html");
//return new RedirectResult("~/index.html", true);
return Redirect(Url.Content("index.html"));
}
And i cant figure out any other ways to make it work. How do i solve my problem?
P.S. outcommented code is something i tryed and it didnt work.