Revert breaking changes.

Revert "Add missing file for collect static"

This reverts commit b823909386.
This commit is contained in:
Juhn-Vitus Saß
2025-04-23 12:00:50 +02:00
parent ac5859a666
commit 873b50103d
3 changed files with 6 additions and 13 deletions

View File

@@ -28,5 +28,5 @@ urlpatterns = [
path('components/', include('components.urls'))
]
# Stelle Mediendateien auch im Produktionsmodus bereit
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)