diff --git a/src/Hosting/Abstractions/src/HostingAbstractionsWebHostBuilderExtensions.cs b/src/Hosting/Abstractions/src/HostingAbstractionsWebHostBuilderExtensions.cs index 1aac2e31d1..3b14957ba4 100644 --- a/src/Hosting/Abstractions/src/HostingAbstractionsWebHostBuilderExtensions.cs +++ b/src/Hosting/Abstractions/src/HostingAbstractionsWebHostBuilderExtensions.cs @@ -13,8 +13,6 @@ namespace Microsoft.AspNetCore.Hosting { public static class HostingAbstractionsWebHostBuilderExtensions { - private static readonly string ServerUrlsSeparator = ";"; - /// /// Use the given configuration settings on the web host. /// @@ -144,7 +142,7 @@ namespace Microsoft.AspNetCore.Hosting throw new ArgumentNullException(nameof(urls)); } - return hostBuilder.UseSetting(WebHostDefaults.ServerUrlsKey, string.Join(ServerUrlsSeparator, urls)); + return hostBuilder.UseSetting(WebHostDefaults.ServerUrlsKey, string.Join(';', urls)); } ///