File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 2020if ( builder . Environment . IsDevelopment ( ) )
2121{
2222 // In development, load secrets from user secrets here
23- // Load secrets from environment variables
2423 builder . Configuration . AddUserSecrets < Program > ( optional : true ) ;
2524}
2625
Original file line number Diff line number Diff line change 1414 "dotnetRunMessages" : true ,
1515 "launchBrowser" : true ,
1616 "applicationUrl" : " http://0.0.0.0:5001" ,
17+ "environmentVariables" : {
18+ "ASPNETCORE_ENVIRONMENT" : " Development"
19+ }
20+ },
21+ "production" :{
22+ "commandName" : " Project" ,
23+ "dotnetRunMessages" : true ,
24+ "launchBrowser" : false ,
25+ "applicationUrl" : " http://0.0.0.0:5000" ,
1726 "environmentVariables" : {
1827 "ASPNETCORE_ENVIRONMENT" : " Production"
1928 }
2029 },
21-
2230 "https" : {
2331 "commandName" : " Project" ,
2432 "dotnetRunMessages" : true ,
You can’t perform that action at this time.
0 commit comments