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