Remove old Controllers

This commit is contained in:
2025-04-07 14:28:57 -04:00
parent 133dcf3790
commit 35b640a802
4 changed files with 0 additions and 71 deletions

View File

@@ -38,9 +38,6 @@ builder.Services.AddKeyVaultIfConfigured(builder.Configuration);
builder.Services.AddWebServices();
builder.Services.AddAuthorizationAndAuthentication(builder.Configuration);
// TODO: This old tech should be remove - need to move Facebook / Google controllers to FastEndpoints
builder.Services.AddControllers();
builder.Services.AddOpenApiDocument((
configure,
sp) =>
@@ -119,10 +116,6 @@ if (app.Environment.IsDevelopment())
app.UseSwaggerUi(options => options.Path = "/api");
}
app.MapControllerRoute(
name: "default",
pattern: "{controller}/{action=Index}/{id?}");
app.UseFastEndpoints();
app.Run();