Add configuration settings
This commit is contained in:
parent
579794caa7
commit
2dd4da3c24
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ namespace DotNetCron
|
|||
var configuration = new ConfigurationBuilder()
|
||||
.SetBasePath(Directory.GetCurrentDirectory())
|
||||
.AddJsonFile("appsettings.json", optional:true, reloadOnChange:true)
|
||||
//.AddEnvironmentVariables(prefix: "CRON_")
|
||||
.AddEnvironmentVariables(prefix: "CRON_")
|
||||
.Build();
|
||||
|
||||
var consoleSettings = new ConsoleSettings();
|
||||
|
|
Loading…
Reference in a new issue