swagger
This commit is contained in:
@@ -255,11 +255,11 @@ app.UseForwardedHeaders(new ForwardedHeadersOptions
|
|||||||
app.UseStaticFiles();
|
app.UseStaticFiles();
|
||||||
|
|
||||||
// Swagger/SwaggerUI f<>r API-Dokumentation aktivieren
|
// Swagger/SwaggerUI f<>r API-Dokumentation aktivieren
|
||||||
if (app.Environment.IsDevelopment())
|
//'if (app.Environment.IsDevelopment())
|
||||||
{
|
//{
|
||||||
app.UseSwagger();
|
app.UseSwagger();
|
||||||
app.UseSwaggerUI();
|
app.UseSwaggerUI();
|
||||||
}
|
//}
|
||||||
|
|
||||||
// app.UseHttpsRedirection(); // Auskommentiert f<>r Docker HTTP-Entwicklung
|
// app.UseHttpsRedirection(); // Auskommentiert f<>r Docker HTTP-Entwicklung
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user