fix build break due to aspnet\configuration #246
This commit is contained in:
parent
097fb35ddf
commit
c7535f127c
|
|
@ -17,8 +17,8 @@ namespace Microsoft.AspNet.Server.Kestrel
|
||||||
|
|
||||||
public void Initialize(IConfiguration configuration)
|
public void Initialize(IConfiguration configuration)
|
||||||
{
|
{
|
||||||
string urls;
|
var urls = configuration["server.urls"];
|
||||||
if (!configuration.TryGet("server.urls", out urls))
|
if (!string.IsNullOrEmpty(urls))
|
||||||
{
|
{
|
||||||
urls = "http://+:5000/";
|
urls = "http://+:5000/";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue