We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d297774 + f8e0cb9 commit e0908e7Copy full SHA for e0908e7
1 file changed
ProjectTemplates/ReferenceProject/Startup.cs
@@ -39,7 +39,7 @@ public Startup(IConfiguration configuration, IHostEnvironment env)
39
var envPath = Path.Combine(env.ContentRootPath, ".env");
40
if (File.Exists(envPath))
41
{
42
- DotNetEnv.Env.Load();
+ DotNetEnv.Env.Load(envPath);
43
}
44
45
// See: https://github.com/drwatson1/AspNet-Core-REST-Service/wiki#content-formatting
0 commit comments