mirror of
https://github.com/ansible/awx.git
synced 2026-04-13 22:19:27 -02:30
Fix STATIC_ROOT in defaults
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
This commit is contained in:
@@ -105,7 +105,7 @@ STATICFILES_DIRS = (os.path.join(BASE_DIR, 'ui', 'build', 'static'), os.path.joi
|
|||||||
|
|
||||||
# Absolute filesystem path to the directory where static file are collected via
|
# Absolute filesystem path to the directory where static file are collected via
|
||||||
# the collectstatic command.
|
# the collectstatic command.
|
||||||
STATIC_ROOT = os.path.join(BASE_DIR, 'public', 'static')
|
STATIC_ROOT = '/var/lib/awx/public/static'
|
||||||
|
|
||||||
# Static files (CSS, JavaScript, Images)
|
# Static files (CSS, JavaScript, Images)
|
||||||
# https://docs.djangoproject.com/en/dev/howto/static-files/
|
# https://docs.djangoproject.com/en/dev/howto/static-files/
|
||||||
|
|||||||
Reference in New Issue
Block a user