Merge pull request #32 from NicolasConstant/develop

0.3.1 PR
This commit is contained in:
Nicolas Constant 2021-01-07 19:38:05 +01:00 committed by GitHub
commit f71fe04330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -4,7 +4,7 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
<UserSecretsId>d21486de-a812-47eb-a419-05682bb68856</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<Version>0.3.0</Version>
<Version>0.3.1</Version>
</PropertyGroup>
<ItemGroup>

View file

@ -48,6 +48,7 @@ namespace BirdsiteLive.Controllers
[Route("/users/{id}")]
public IActionResult Index(string id)
{
id = id.Trim(new[] {' ', '@'});
var user = _twitterService.GetUser(id);
var r = Request.Headers["Accept"].First();

View file

@ -33,5 +33,5 @@
<br />
<p>Search this handle to find it in your instance:</p>
<input type="text" name="textbox" value=" @ViewData.Model.InstanceHandle" onclick="this.select()" class="form-control" readonly/>
<input type="text" name="textbox" value="@ViewData.Model.InstanceHandle" onclick="this.select()" class="form-control" readonly/>
</div>