diff --git a/argocd/deployment.yaml b/argocd/deployment.yaml index 89ded3c..284887d 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.005 + image: git.baumann.gr/adebaumann/labhelper:0.006 imagePullPolicy: Always ports: - containerPort: 8000 diff --git a/labhelper/settings.py b/labhelper/settings.py index 92247f3..537ea62 100644 --- a/labhelper/settings.py +++ b/labhelper/settings.py @@ -116,11 +116,8 @@ USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/5.2/howto/static-files/ -STATIC_URL = 'static/' +STATIC_URL = '/static/' STATIC_ROOT = BASE_DIR / 'staticfiles' -STATICFILES_DIRS = [ - BASE_DIR / 'static', -] # Default primary key field type # https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field