diff --git a/Framework/Azure/Cqrs.Azure.Functions.Isolated/CqrsIsolatedFunctionHost.cs b/Framework/Azure/Cqrs.Azure.Functions.Isolated/CqrsIsolatedFunctionHost.cs index 05668c36e..087ea6609 100644 --- a/Framework/Azure/Cqrs.Azure.Functions.Isolated/CqrsIsolatedFunctionHost.cs +++ b/Framework/Azure/Cqrs.Azure.Functions.Isolated/CqrsIsolatedFunctionHost.cs @@ -99,7 +99,7 @@ protected static void PrepareConfigurationManager() string localRoot = Environment.GetEnvironmentVariable("AzureWebJobsScriptRoot"); string azureRoot = Environment.GetEnvironmentVariable("HOME"); azureRoot = string.IsNullOrWhiteSpace(azureRoot) - ? string.Empty + ? null : $"{azureRoot}/site/wwwroot"; string actualRoot = localRoot ?? azureRoot ?? Environment.CurrentDirectory; @@ -149,7 +149,7 @@ protected virtual void PrepareHost() string localRoot = Environment.GetEnvironmentVariable("AzureWebJobsScriptRoot"); string azureRoot = Environment.GetEnvironmentVariable("HOME"); azureRoot = string.IsNullOrWhiteSpace(azureRoot) - ? string.Empty + ? null : $"{azureRoot}/site/wwwroot"; string actualRoot = localRoot ?? azureRoot ?? Environment.CurrentDirectory; @@ -225,7 +225,7 @@ Microsoft.Extensions.Configuration.IConfigurationRoot config string localRoot = Environment.GetEnvironmentVariable("AzureWebJobsScriptRoot"); string azureRoot = Environment.GetEnvironmentVariable("HOME"); azureRoot = string.IsNullOrWhiteSpace(azureRoot) - ? string.Empty + ? null : $"{azureRoot}/site/wwwroot"; string actualRoot = localRoot ?? azureRoot ?? Environment.CurrentDirectory;