chore: read env vars from .env.local during dev

This commit is contained in:
Abdullah Atta committed 2022-12-30 19:23:39 +05:00
1 parent a789c5bb55
commit 9af8a46f87
6 files changed
+19 -4

No files matched your search

+3
View File
@@ -33,6 +33,9 @@ namespace Notesnook.API
{
public static async Task Main(string[] args)
{
#if DEBUG
DotNetEnv.Env.TraversePath().Load(".env.local");
#endif
IHost host = CreateHostBuilder(args).Build();
await host.RunAsync();
}