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()
|
var configuration = new ConfigurationBuilder()
|
||||||
.SetBasePath(Directory.GetCurrentDirectory())
|
.SetBasePath(Directory.GetCurrentDirectory())
|
||||||
.AddJsonFile("appsettings.json", optional:true, reloadOnChange:true)
|
.AddJsonFile("appsettings.json", optional:true, reloadOnChange:true)
|
||||||
//.AddEnvironmentVariables(prefix: "CRON_")
|
.AddEnvironmentVariables(prefix: "CRON_")
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
var consoleSettings = new ConsoleSettings();
|
var consoleSettings = new ConsoleSettings();
|
||||||
|
|
Loading…
Reference in a new issue