Skip to content

Commit e0908e7

Browse files
authored
Merge pull request #1 from tskx/patch-1
envPath processing mistake
2 parents d297774 + f8e0cb9 commit e0908e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ProjectTemplates/ReferenceProject/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public Startup(IConfiguration configuration, IHostEnvironment env)
3939
var envPath = Path.Combine(env.ContentRootPath, ".env");
4040
if (File.Exists(envPath))
4141
{
42-
DotNetEnv.Env.Load();
42+
DotNetEnv.Env.Load(envPath);
4343
}
4444

4545
// See: https://github.com/drwatson1/AspNet-Core-REST-Service/wiki#content-formatting

0 commit comments

Comments
 (0)