added user route

This commit is contained in:
Nicolas Constant 2020-03-21 17:53:38 -04:00
parent 2bbcb3b36b
commit 05ea140322
No known key found for this signature in database
GPG key ID: 1E9F677FB01A5688

View file

@ -9,8 +9,9 @@ namespace BirdsiteLive.Controllers
{
public class UserController : Controller
{
[Route("/user")]
public IActionResult Index()
[Route("/@{id}")]
[Route("/user/{id}")]
public IActionResult Index(string id)
{
var r = Request.Headers["Accept"].First();