File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 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)
1818 {
1919 var builder = new ConfigurationBuilder ( )
2020 . SetBasePath ( env . ContentRootPath )
21- . AddJsonFile ( "appsettings.json" , optional : true , reloadOnChange : true )
21+ . AddJsonFile ( "appsettings.json" , optional : true , reloadOnChange : false )
2222 . AddJsonFile ( $ "appsettings.{ env . EnvironmentName } .json", optional : true )
2323 . AddEnvironmentVariables ( ) ;
2424
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public Startup(IHostingEnvironment env)
1818 {
1919 var builder = new ConfigurationBuilder ( )
2020 . SetBasePath ( env . ContentRootPath )
21- . AddJsonFile ( "appsettings.json" , optional : false , reloadOnChange : true )
21+ . AddJsonFile ( "appsettings.json" , optional : false , reloadOnChange : false )
2222 . AddJsonFile ( $ "appsettings.{ env . EnvironmentName } .json", optional : true )
2323 . AddEnvironmentVariables ( ) ;
2424 Configuration = builder . Build ( ) ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public Startup(IHostingEnvironment env)
2121 {
2222 var builder = new ConfigurationBuilder ( )
2323 . SetBasePath ( env . ContentRootPath )
24- . AddJsonFile ( "appsettings.json" , optional : true , reloadOnChange : true )
24+ . AddJsonFile ( "appsettings.json" , optional : true , reloadOnChange : false )
2525 . AddJsonFile ( $ "appsettings.{ env . EnvironmentName } .json", optional : true )
2626 . AddEnvironmentVariables ( ) ;
2727
You can’t perform that action at this time.
0 commit comments