fix deploy dotnet backend
This commit is contained in:
@ -5,6 +5,16 @@ using Npgsql;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
// // Force binding to all interfaces in Kubernetes
|
||||
// Console.WriteLine($"ASPNETCORE_URLS env var: {Environment.GetEnvironmentVariable("ASPNETCORE_URLS")}");
|
||||
// Console.WriteLine($"ASPNETCORE_HTTP_PORTS env var: {Environment.GetEnvironmentVariable("ASPNETCORE_HTTP_PORTS")}");
|
||||
|
||||
// // Clear any existing configuration and force our URL
|
||||
// builder.WebHost.ConfigureKestrel(options =>
|
||||
// {
|
||||
// options.ListenAnyIP(8000);
|
||||
// });
|
||||
|
||||
// Configuration
|
||||
var config = new AppConfig
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user