Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py 2index 2de06dd10..00406af48 100644 3--- a/netbox/netbox/settings.py 4+++ b/netbox/netbox/settings.py 5@@ -410,7 +412,7 @@ USE_X_FORWARDED_HOST = True 6 X_FRAME_OPTIONS = 'SAMEORIGIN' 7 8 # Static files (CSS, JavaScript, Images) 9-STATIC_ROOT = BASE_DIR + '/static' 10+STATIC_ROOT = getattr(configuration, 'STATIC_ROOT', os.path.join(BASE_DIR, 'static')).rstrip('/') 11 STATIC_URL = f'/{BASE_PATH}static/' 12 STATICFILES_DIRS = ( 13 os.path.join(BASE_DIR, 'project-static', 'dist'),