Обновления веб-отображения

This commit is contained in:
2025-10-07 00:12:20 +04:00
parent aecabfbb56
commit 5df20825c7
12 changed files with 377 additions and 201 deletions
+2 -2
View File
@@ -13,12 +13,12 @@ builder.Services.AddDbContext<Pf2eDbContext>(options =>
options.UseNpgsql(EnvReader.GetStringValue("DATABASE_CONNECTION"))
);
var app = builder.Build();
WebApplication app = builder.Build();
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Error");
//app.UseExceptionHandler("/Error");
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
app.UseHsts();
}