Fix
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Modbus.Net
|
|||||||
.SetBasePath(Directory.GetCurrentDirectory())
|
.SetBasePath(Directory.GetCurrentDirectory())
|
||||||
.AddJsonFile("appsettings.default.json")
|
.AddJsonFile("appsettings.default.json")
|
||||||
.AddJsonFile("appsettings.json")
|
.AddJsonFile("appsettings.json")
|
||||||
.AddJsonFile($"appsettings.{Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") ?? "Production"}.json", true)
|
.AddJsonFile($"appsettings.{Environment.GetEnvironmentVariable("DOTNET_ENVIRONMENT") ?? "Production"}.json", true)
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
#nullable enable
|
#nullable enable
|
||||||
|
|||||||
Reference in New Issue
Block a user