♻️ Refactor Gateway and expose swagger
This commit is contained in:
@@ -9,11 +9,8 @@ public static class ApplicationBuilderExtensions
|
||||
public static WebApplication ConfigureAppMiddleware(this WebApplication app, ITusStore tusStore)
|
||||
{
|
||||
// Configure the HTTP request pipeline.
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
}
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
|
||||
app.UseAuthorization();
|
||||
app.MapControllers();
|
||||
|
Reference in New Issue
Block a user