Update configuration for deployment

- Change API base address to external IP for development
- Update launch settings to bind to any host interface
- Remove commented CORS policy code
This commit is contained in:
2026-02-04 21:29:00 +01:00
parent 8f2284e1fc
commit fd8395cc48
3 changed files with 2 additions and 6 deletions

View File

@@ -15,10 +15,6 @@ builder.Services.AddCors(options =>
policy.AllowAnyOrigin()
.AllowAnyHeader()
.AllowAnyMethod();
// policy.WithOrigins("http://localhost:5016", "http://:5016", "https://localhost:7252")
// .AllowAnyHeader()
// .AllowAnyMethod();
});
});
builder.Services.AddDbContext<AppDbContext>(options =>