Enhance configuration loading: skip example config in development and update launch settings for local debugging

This commit is contained in:
troogs
2026-09-14 15:45:24 +02:00
parent 8df4abc8a3
commit fdd7ea5a40
5 changed files with 12 additions and 6 deletions
+2 -1
View File
@@ -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();