Update STATIC_ROOT and MEDIA_ROOT paths for deployment

Changed STATIC_ROOT and MEDIA_ROOT to absolute paths suitable for the deployment environment. This ensures compatibility with the server's filesystem structure.
main
Arne Schauf 3 weeks ago
parent 3cda1e2b75
commit 79da93e56e
  1. 2
      feo_homepage/settings/base.py

@ -143,7 +143,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/5.2/howto/static-files/
STATIC_URL = 'static/'
STATIC_ROOT = BASE_DIR / 'static'
STATIC_ROOT = '/app/static'
MEDIA_URL = '/media/'
MEDIA_ROOT = '/app/media'

Loading…
Cancel
Save