redirect to twitter when displaying tweets, fix #40

This commit is contained in:
Nicolas Constant 2021-01-11 19:14:51 -05:00
parent e7687d9321
commit 54218bfedb
No known key found for this signature in database
GPG key ID: 1E9F677FB01A5688

View file

@ -109,7 +109,7 @@ namespace BirdsiteLive.Controllers
}
}
return View("Tweet", statusId);
return Redirect($"https://twitter.com/{id}/status/{statusId}");
}
[Route("/users/{id}/inbox")]