File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public Startup(IHostingEnvironment env)
18
18
{
19
19
var builder = new ConfigurationBuilder ( )
20
20
. SetBasePath ( env . ContentRootPath )
21
- . AddJsonFile ( "appsettings.json" , optional : true , reloadOnChange : true )
21
+ . AddJsonFile ( "appsettings.json" , optional : true , reloadOnChange : false )
22
22
. AddJsonFile ( $ "appsettings.{ env . EnvironmentName } .json", optional : true )
23
23
. AddEnvironmentVariables ( ) ;
24
24
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public Startup(IHostingEnvironment env)
18
18
{
19
19
var builder = new ConfigurationBuilder ( )
20
20
. SetBasePath ( env . ContentRootPath )
21
- . AddJsonFile ( "appsettings.json" , optional : false , reloadOnChange : true )
21
+ . AddJsonFile ( "appsettings.json" , optional : false , reloadOnChange : false )
22
22
. AddJsonFile ( $ "appsettings.{ env . EnvironmentName } .json", optional : true )
23
23
. AddEnvironmentVariables ( ) ;
24
24
Configuration = builder . Build ( ) ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public Startup(IHostingEnvironment env)
21
21
{
22
22
var builder = new ConfigurationBuilder ( )
23
23
. SetBasePath ( env . ContentRootPath )
24
- . AddJsonFile ( "appsettings.json" , optional : true , reloadOnChange : true )
24
+ . AddJsonFile ( "appsettings.json" , optional : true , reloadOnChange : false )
25
25
. AddJsonFile ( $ "appsettings.{ env . EnvironmentName } .json", optional : true )
26
26
. AddEnvironmentVariables ( ) ;
27
27
You can’t perform that action at this time.
0 commit comments