diff --git a/Olive.Microservices/Microservice.cs b/Olive.Microservices/Microservice.cs index 5a74844f..6d7dc33a 100644 --- a/Olive.Microservices/Microservice.cs +++ b/Olive.Microservices/Microservice.cs @@ -29,7 +29,7 @@ string BaseResourceUrl string BaseS3BucketUrl => _baseS3BucketUrl ??= Config.Get("Microservice:" + Name + ":S3BucketUrl") - .Or($"https://{Config.Get("Blob:S3:Bucket")}.s3.{Config.Get("Blob:S3:Region").Or("Aws:Region")}.amazonaws.com/") + .Or($"https://{Config.Get("Blob:S3:Bucket")}.s3.{Config.Get("Blob:S3:Region").Or(Config.Get("Aws:Region"))}.amazonaws.com/") .EnsureEndsWith("/"); string AccessKey => diff --git a/Olive.Microservices/Olive.Microservices.csproj b/Olive.Microservices/Olive.Microservices.csproj index 4856feb9..2bec254c 100644 --- a/Olive.Microservices/Olive.Microservices.csproj +++ b/Olive.Microservices/Olive.Microservices.csproj @@ -1,7 +1,7 @@  netstandard2.0 - 2.1.119 + 2.1.120