Allow swagger outside of dev
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user