Skip to content

Commit

Permalink
Fix STATIC_ROOT in defaults
Browse files Browse the repository at this point in the history
Reasoning:

- This is breaking the UI in official image builds of devel
- This is always being overridden in our packaging
- PROJECTS_ROOT and JOBOUTPUT_ROOT also hardcode /var/lib/awx
  • Loading branch information
shanemcd committed Aug 23, 2022
1 parent bcd0187 commit 1ed7a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/settings/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def IS_TESTING(argv=None):

# Absolute filesystem path to the directory where static file are collected via
# the collectstatic command.
STATIC_ROOT = os.path.join(BASE_DIR, 'public', 'static')
STATIC_ROOT = '/var/lib/awx/public/static'

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/dev/howto/static-files/
Expand Down

0 comments on commit 1ed7a50

Please sign in to comment.