Skip to content

Commit

Permalink
compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
edeNFed committed Dec 23, 2024
1 parent c03f875 commit 6db81b6
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ public static void Main(string[] args)
{
var host = new WebHostBuilder()
// Configure Kestrel, etc.
.UseKestrel()
.UseKestrel(options =>
{
options.ListenAnyIP(8080);
})

// Logging
.ConfigureLogging(logging =>
Expand Down Expand Up @@ -44,7 +47,7 @@ public static void Main(string[] args)
.Build();

// Run
host.Run("http://0.0.0.0:8080");
host.Run();
}
}
}

0 comments on commit 6db81b6

Please sign in to comment.