fix: correct static url pattern

This commit is contained in:
Robert Sparks 2024-01-24 13:06:58 -06:00
parent c64b1dacfd
commit ca425790ea
No known key found for this signature in database
GPG key ID: 6E2A6A5775F91318

View file

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