read env vars from .env file

This commit is contained in:
Abdullah Atta committed 2022-12-28 17:33:18 +05:00
1 parent 4e9f82fe48
commit af9b357f3f
5 files changed
+9 -11

No files matched your search

+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();
}