mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 00:08:16 +08:00
all administration tests passing again...yey
This commit is contained in:
@ -9,17 +9,14 @@ namespace Ocelot.ManualTest
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
IWebHostBuilder builder = new WebHostBuilder();
|
||||
|
||||
builder.ConfigureServices(s => {
|
||||
s.AddSingleton(builder);
|
||||
});
|
||||
|
||||
builder.UseKestrel()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseStartup<Startup>();
|
||||
|
||||
var host = builder.Build();
|
||||
|
||||
host.Run();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user