fix: restore explicit STATIC_ROOT (#6970)

This commit is contained in:
Robert Sparks 2024-01-25 17:03:36 -06:00 committed by GitHub
parent 8150a12748
commit 1e2a53e0e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -170,7 +170,7 @@ if SERVER_MODE != 'production' and SERVE_CDN_FILES_LOCALLY_IN_DEV_MODE:
STATIC_ROOT = os.path.abspath(BASE_DIR + "/../static/") STATIC_ROOT = os.path.abspath(BASE_DIR + "/../static/")
else: else:
STATIC_URL = "https://static.ietf.org/dt/%s/"%__version__ STATIC_URL = "https://static.ietf.org/dt/%s/"%__version__
# Intentionally not setting STATIC_ROOT - see django/django (the default is None) STATIC_ROOT = "/a/www/www6s/lib/dt/%s/"%__version__
# List of finder classes that know how to find static files in # List of finder classes that know how to find static files in
# various locations. # various locations.