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();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
}
|
||||
// use swagger in production
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user