some minor fixes and improvements, probably
This commit is contained in:
@@ -49,6 +49,11 @@ public class Program
|
||||
|
||||
config.AddEnvironmentVariables();
|
||||
})
|
||||
.ConfigureLogging((ctx, builder) =>
|
||||
{
|
||||
builder.AddConfiguration(ctx.Configuration.GetSection("Logging"));
|
||||
builder.AddFile(o => o.RootPath = AppContext.BaseDirectory);
|
||||
})
|
||||
.ConfigureWebHostDefaults(webBuilder =>
|
||||
{
|
||||
webBuilder.UseContentRoot(AppContext.BaseDirectory);
|
||||
|
||||
Reference in New Issue
Block a user