Allow swagger outside of dev

This commit is contained in:
exsersewo committed 2023-01-16 18:15:17 +00:00
1 parent 545af840c6
commit 2fbc3395a0
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ var app = builder.Build();
ImageManager.Configure(app.Configuration, app.Environment);
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
//if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();