read env vars from .env file

This commit is contained in:
Abdullah Atta
2022-12-28 17:33:18 +05:00
parent 4e9f82fe48
commit af9b357f3f
5 changed files with 9 additions and 11 deletions
+2
View File
@@ -33,6 +33,8 @@ namespace Streetwriters.Identity
{
public static async Task Main(string[] args)
{
DotNetEnv.Env.TraversePath().Load();
IHost host = CreateHostBuilder(args).Build();
await host.RunAsync();
}