diff --git a/argocd/deployment.yaml b/argocd/deployment.yaml index 58d3827..19a387f 100644 --- a/argocd/deployment.yaml +++ b/argocd/deployment.yaml @@ -25,7 +25,7 @@ spec: mountPath: /data containers: - name: web - image: git.baumann.gr/adebaumann/labhelper:0.012 + image: git.baumann.gr/adebaumann/labhelper:0.013 imagePullPolicy: Always ports: - containerPort: 8000 diff --git a/labhelper/urls.py b/labhelper/urls.py index f4fac83..d5106ec 100644 --- a/labhelper/urls.py +++ b/labhelper/urls.py @@ -27,6 +27,5 @@ urlpatterns = [ path('admin/', admin.site.urls), ] -if settings.DEBUG: - urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) - urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) +urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) +urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)