refactor(Proxy): aktualisiert, um Proxy in der Produktion zu verwenden
This commit is contained in:
parent
590546c9f9
commit
c352ee987c
@ -9,12 +9,9 @@ builder.Services.AddSwaggerGen();
|
|||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
// Configure the HTTP request pipeline.
|
// use swagger in production
|
||||||
if (app.Environment.IsDevelopment())
|
app.UseSwagger();
|
||||||
{
|
app.UseSwaggerUI();
|
||||||
app.UseSwagger();
|
|
||||||
app.UseSwaggerUI();
|
|
||||||
}
|
|
||||||
|
|
||||||
app.UseHttpsRedirection();
|
app.UseHttpsRedirection();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user