Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
dariogriffo committed May 11, 2021
2 parents b56f3fa + 5024fe0 commit 4b36d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static IHostBuilder CreateHostBuilder(string[] args)
{
config
.AddEnvironmentFile() // Configuring from '.env' file
.AddEnvironmentFile("with-prefix.env") // Variables like MyPrefix_MyVariable are loaded as MyPrefix_MyVariable
.AddEnvironmentFile("with-prefix.env") // Variables like MyPrefix_MyVariable are loaded as MyPrefix_MyVariable
.AddEnvironmentFile("with-prefix.env", prefix: "MyPrefix_") // Variables like MyPrefix_MyVariable are loaded as MyVariable
.AddEnvironmentVariables(); // Overriding with environment variables
})
Expand Down

0 comments on commit 4b36d98

Please sign in to comment.