Add 'UseServer'
This commit is contained in:
parent
edb1a1045a
commit
6cc6f4d88e
|
|
@ -123,6 +123,7 @@ namespace IdentitySample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
"server": "Microsoft.AspNetCore.Server.Kestrel",
|
|
||||||
"server.urls": "http://localhost:41532/"
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue