Allow swagger outside of dev

main
exsersewo 2 years ago
parent 545af840c6
commit 2fbc3395a0
Signed by: exsersewo
GPG Key ID: 9C6DDF9AC9BA14A0
  1. 2
      src/Program.cs

@ -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();

Loading…
Cancel
Save