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)
|
||||
{
|
||||
string urls;
|
||||
if (!configuration.TryGet("server.urls", out urls))
|
||||
var urls = configuration["server.urls"];
|
||||
if (!string.IsNullOrEmpty(urls))
|
||||
{
|
||||
urls = "http://+:5000/";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue