Enhance configuration loading: skip example config in development and update launch settings for local debugging
This commit is contained in:
@@ -14,7 +14,8 @@ using Microsoft.EntityFrameworkCore;
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
builder.LoadAppSettings();
|
||||
|
||||
builder.WebHost.UseUrls("http://+:8700");
|
||||
// Keep the app default binding in config for Docker/container deployment.
|
||||
// Local debugging can override it via ASPNETCORE_URLS in launchSettings.
|
||||
|
||||
// Add services to the container.
|
||||
builder.Services.AddRazorPages();
|
||||
|
||||
Reference in New Issue
Block a user