mirror of
https://github.com/marcominerva/SqlDatabaseVectorSearch.git
synced 2026-06-20 12:23:10 +00:00
Update middleware configuration in Program.cs
- Added Swagger endpoint for OpenAPI specification. - Commented out unused middleware: UseRateLimiter and UseCors. - Other middleware configurations remain unchanged.
This commit is contained in:
@@ -124,9 +124,7 @@ app.UseSwaggerUI(options =>
|
|||||||
});
|
});
|
||||||
|
|
||||||
app.UseRouting();
|
app.UseRouting();
|
||||||
// app.UseRateLimiter();
|
|
||||||
app.UseRequestLocalization();
|
app.UseRequestLocalization();
|
||||||
// app.UseCors();
|
|
||||||
|
|
||||||
app.UseAntiforgery();
|
app.UseAntiforgery();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user