20 lines
439 B
C#
20 lines
439 B
C#
|
|
using Gateway;
|
|
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
Host.CreateDefaultBuilder(args)
|
|
.ConfigureAppConfiguration(builder =>
|
|
{
|
|
builder.AddJsonFile("ocelot.json", true, true);
|
|
})
|
|
.ConfigureWebHostDefaults(webBuilder =>
|
|
{
|
|
webBuilder.UseStartup<Startup>();
|
|
})
|
|
.Build().Run();
|
|
}
|
|
}
|