From aba0b534491643f80e3056827f51ee367e0dd258 Mon Sep 17 00:00:00 2001 From: patrick Date: Wed, 2 Sep 2026 23:12:48 +0200 Subject: [PATCH] fix(docs): StaticFiles-Mount-Pfad korrigieren (static statt app/static) Vorheriger Commit hat nur die Dateien verschoben, main.py zeigte noch auf den alten Pfad app/static. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015Ahyx6D3r7G1EuAc42nezn --- backend/app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/main.py b/backend/app/main.py index 4a02c2f..ce9c152 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -75,7 +75,7 @@ app.add_exception_handler(RateLimitExceeded, _rate_limit_exceeded_handler) # Swagger/ReDoc-Assets lokal ausliefern statt von cdn.jsdelivr.net – Netzwerke ohne # CDN-Zugriff (Firewall/Proxy) zeigten sonst eine leere /docs-Seite. if not settings.is_production: - app.mount("/static", StaticFiles(directory="app/static"), name="static") + app.mount("/static", StaticFiles(directory="static"), name="static") @app.get("/docs", include_in_schema=False) async def custom_swagger_ui_html():