File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222WebApplicationBuilder builder = WebApplication . CreateBuilder ( args ) ;
2323
2424IConfigurationRoot configuration = new ConfigurationBuilder ( )
25- . AddJsonFile ( "/home/txnproc/config/appsettings.json" , true , true )
26- . AddJsonFile ( $ "/home/txnproc/config/appsettings.{ builder . Environment . EnvironmentName } .json", optional : true )
2725 . AddJsonFile ( "appsettings.json" , optional : true , reloadOnChange : true )
2826 . AddJsonFile ( $ "appsettings.{ builder . Environment . EnvironmentName } .json", optional : true , reloadOnChange : true )
27+ . AddJsonFile ( "/home/txnproc/config/appsettings.json" , true , true )
28+ . AddJsonFile ( $ "/home/txnproc/config/appsettings.{ builder . Environment . EnvironmentName } .json", optional : true )
2929 . AddEnvironmentVariables ( ) . Build ( ) ;
3030
3131ConfigurationReader . Initialise ( configuration ) ;
You can’t perform that action at this time.
0 commit comments