Exposing on 0.0.0.0 instead of localhost

This commit is contained in:
hz
2025-05-09 12:15:40 -07:00
parent c0a94f26d6
commit a493715f29
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ using Microsoft.IdentityModel.Tokens;
using System.Text;
var builder = WebApplication.CreateBuilder(args);
builder.WebHost.ConfigureKestrel(serverOptions => {});
builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();