From 2590e1d2dca85343b3042736e32655f73f517aed Mon Sep 17 00:00:00 2001 From: Mohammad Hoseinzadeh Ashraf Date: Wed, 15 Jan 2025 10:43:16 +0000 Subject: [PATCH] bugfix --- Olive.Microservices/Microservice.cs | 2 +- Olive.Microservices/Olive.Microservices.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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