Extend data service
This commit is contained in:
@@ -21,15 +21,11 @@ namespace ReallifeGamemode.DataService
|
||||
public static IWebHost BuildWebHost(string[] args)
|
||||
{
|
||||
return WebHost.CreateDefaultBuilder(args)
|
||||
.ConfigureLogging((ctx, l) =>
|
||||
.ConfigureLogging((ctx, builder) =>
|
||||
{
|
||||
l.AddLog4Net(Path.Combine(ctx.HostingEnvironment.ContentRootPath, "log4net.config"));
|
||||
builder.AddLog4Net(Path.Combine(ctx.HostingEnvironment.ContentRootPath, "log4net.config"));
|
||||
})
|
||||
.UseStartup<Startup>()
|
||||
.UseKestrel(k =>
|
||||
{
|
||||
k.Listen(IPAddress.Any, 5000);
|
||||
})
|
||||
.Build();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user