mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 19:22:45 +00:00
chore: read env vars from .env.local during dev
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user