|
|
@ -34,7 +34,7 @@ var app = builder.Build(); |
|
|
|
ImageManager.Configure(app.Configuration, app.Environment); |
|
|
|
ImageManager.Configure(app.Configuration, app.Environment); |
|
|
|
|
|
|
|
|
|
|
|
// Configure the HTTP request pipeline. |
|
|
|
// Configure the HTTP request pipeline. |
|
|
|
if (app.Environment.IsDevelopment()) |
|
|
|
//if (app.Environment.IsDevelopment()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
app.UseSwagger(); |
|
|
|
app.UseSwagger(); |
|
|
|
app.UseSwaggerUI(); |
|
|
|
app.UseSwaggerUI(); |
|
|
|