Enable Swagger UI in production environment

Remove development-only restriction for Swagger UI to allow API documentation
access in all environments. This is safe as the service is local-only.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-02 23:30:35 -05:00
parent 5ff189cc7e
commit e02ed31535

View File

@@ -53,11 +53,8 @@ builder.Services.AddCors(options =>
var app = builder.Build();
// Configure the HTTP request pipeline
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseSwagger();
app.UseSwaggerUI();
app.UseCors();