From 43ebf710ab0ea438e37c12dee8676b33217a4ef0 Mon Sep 17 00:00:00 2001 From: Chris R Date: Fri, 14 Aug 2015 09:33:02 -0700 Subject: [PATCH] Fix regression in reading config --- src/Microsoft.AspNet.Server.Kestrel/ServerInformation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNet.Server.Kestrel/ServerInformation.cs b/src/Microsoft.AspNet.Server.Kestrel/ServerInformation.cs index ec80e002a1..423c848623 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/ServerInformation.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/ServerInformation.cs @@ -18,7 +18,7 @@ namespace Microsoft.AspNet.Server.Kestrel public void Initialize(IConfiguration configuration) { var urls = configuration["server.urls"]; - if (!string.IsNullOrEmpty(urls)) + if (string.IsNullOrEmpty(urls)) { urls = "http://+:5000/"; }