fix: add listen any ip instead localhost
All checks were successful
Build and Deploy Docker Container / build-and-deploy (push) Successful in 2m3s
.NET Test Pipeline / build-and-test (push) Successful in 2m42s

This commit is contained in:
Polianin Nikita 2024-07-05 02:37:12 +03:00
parent 1c27bffa73
commit ab660f69c8

View File

@ -69,7 +69,7 @@ public class Program
builder.WebHost.ConfigureKestrel(options =>
{
options.ListenLocalhost(
options.ListenAnyIP(
int.Parse(builder.Configuration.GetValue<string>("INTERNAL_PORT") ?? "8080"));
});