Spaces:
Running
Running
Florin Bobiș
commited on
Commit
•
35103e1
1
Parent(s):
c7e7da5
leave swagger on for prod
Browse files- Program.cs +1 -1
Program.cs
CHANGED
@@ -16,7 +16,7 @@ builder.Services.AddSwaggerGen();
|
|
16 |
var app = builder.Build();
|
17 |
|
18 |
// Configure the HTTP request pipeline.
|
19 |
-
if (app.Environment.IsDevelopment())
|
20 |
{
|
21 |
app.UseSwagger();
|
22 |
app.UseSwaggerUI();
|
|
|
16 |
var app = builder.Build();
|
17 |
|
18 |
// Configure the HTTP request pipeline.
|
19 |
+
//if (app.Environment.IsDevelopment())
|
20 |
{
|
21 |
app.UseSwagger();
|
22 |
app.UseSwaggerUI();
|