mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
some minor fixes and improvements, probably
This commit is contained in:
parent
6c5ad25d99
commit
33d5f44754
9 changed files with 85 additions and 56 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue