Adding
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using Microsoft.AspNetCore;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Serilog;
|
||||
|
||||
namespace LCU.Api.Internal.FTP
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
var host = CreateWebHost(args);
|
||||
host.Run();
|
||||
}
|
||||
|
||||
public static IWebHost CreateWebHost(string[] args) =>
|
||||
WebHost.CreateDefaultBuilder(args).UseSerilog((hostingContext, loggerConfiguration) => loggerConfiguration
|
||||
.ReadFrom.Configuration(hostingContext.Configuration))
|
||||
.UseStartup<Startup>().Build();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user