From 2770f48edc1a5c72babac409fe7e102fc2483e00 Mon Sep 17 00:00:00 2001 From: "Tizian.Breuch" Date: Fri, 8 Aug 2025 16:14:34 +0200 Subject: [PATCH] UseWebRoot --- Webshop.Api/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Webshop.Api/Program.cs b/Webshop.Api/Program.cs index 91aae3f..0ef448b 100644 --- a/Webshop.Api/Program.cs +++ b/Webshop.Api/Program.cs @@ -27,6 +27,8 @@ using Webshop.Infrastructure.Services; var builder = WebApplication.CreateBuilder(args); +builder.WebHost.UseWebRoot("wwwroot"); + // --- 1. Dependency Injection Konfiguration --- // Datenbank-Kontext mit Split-Query-Verhalten für Performance-Optimierung