Skip to content

Commit 2c5ac12

Browse files
colindcliCopilot
authored andcommitted
Update src/EmbedIO/Net/Internal/ListenerPrefix.cs
Co-authored-by: Copilot <[email protected]>
1 parent f09d058 commit 2c5ac12

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/EmbedIO/Net/Internal/ListenerPrefix.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ internal sealed class ListenerPrefix
77
public ListenerPrefix(string uri)
88
{
99
var ur = new Uri(uri);
10-
if (ur == null)
11-
throw new ArgumentException("Invalid prefix.");
1210

1311
if (uri.StartsWith("https://", StringComparison.Ordinal))
1412
{

0 commit comments

Comments
 (0)