minor cleanup of startup

This commit is contained in:
2023-01-09 16:56:30 -05:00
parent 2caa82b8f4
commit a5c32df806
3 changed files with 2 additions and 10 deletions

View File

@ -11,12 +11,9 @@ var app = builder.Build();
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Home/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();
app.UseHttpsRedirection();
}
app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseRouting();