Merge pull request #70 from NicolasConstant/develop

0.11.2 PR
This commit is contained in:
Nicolas Constant 2021-01-29 00:14:59 +01:00 committed by GitHub
commit 951a470681
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -127,8 +127,8 @@ sudo certbot renew --dry-run
Make sure you're securing your firewall correctly:
```
sudo apt install ufw #if not installed
sudo ufw app list
sudo ufw allow 'Nginx Full'
sudo ufw allow 22/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp

View file

@ -33,7 +33,7 @@ namespace BirdsiteLive.Twitter
if (!_userCache.TryGetValue(username, out TwitterUser user))
{
user = _twitterService.GetUser(username);
_userCache.Set(username, user, _cacheEntryOptions);
if(user != null) _userCache.Set(username, user, _cacheEntryOptions);
}
return user;

View file

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