Fix regression in reading config
This commit is contained in:
parent
c7535f127c
commit
43ebf710ab
|
|
@ -18,7 +18,7 @@ namespace Microsoft.AspNet.Server.Kestrel
|
||||||
public void Initialize(IConfiguration configuration)
|
public void Initialize(IConfiguration configuration)
|
||||||
{
|
{
|
||||||
var urls = configuration["server.urls"];
|
var urls = configuration["server.urls"];
|
||||||
if (!string.IsNullOrEmpty(urls))
|
if (string.IsNullOrEmpty(urls))
|
||||||
{
|
{
|
||||||
urls = "http://+:5000/";
|
urls = "http://+:5000/";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue