Skip to content

Commit

Permalink
fixed listening address in dummy server
Browse files Browse the repository at this point in the history
  • Loading branch information
bezzad committed Nov 17, 2023
1 parent 1aa70f5 commit 6bb374d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Downloader.DummyHttpServer/HttpServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static IWebHost CreateHostBuilder(int port)

if (port > 0)
{
host = host.UseUrls($"http://+:{port}");
host = host.UseUrls($"http://localhost:{port}");
}

return host.Build();
Expand Down

0 comments on commit 6bb374d

Please sign in to comment.