commit
951a470681
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in a new issue