From 8d17a629f25c89caad752ff278ac5f974fce8b36 Mon Sep 17 00:00:00 2001 From: "Tizian.Breuch" Date: Fri, 8 Aug 2025 16:10:14 +0200 Subject: [PATCH] swagger --- Webshop.Api/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Webshop.Api/Program.cs b/Webshop.Api/Program.cs index 92ace8f..91aae3f 100644 --- a/Webshop.Api/Program.cs +++ b/Webshop.Api/Program.cs @@ -255,11 +255,11 @@ app.UseForwardedHeaders(new ForwardedHeadersOptions app.UseStaticFiles(); // Swagger/SwaggerUI für API-Dokumentation aktivieren -if (app.Environment.IsDevelopment()) -{ +//'if (app.Environment.IsDevelopment()) +//{ app.UseSwagger(); app.UseSwaggerUI(); -} +//} // app.UseHttpsRedirection(); // Auskommentiert für Docker HTTP-Entwicklung