allow Django STATIC_URL to be set, resolves #255

This commit is contained in:
meeb
2022-07-24 17:51:46 +10:00
parent 8901aea8d7
commit d161aef112
2 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
ROOT_DIR = Path('/')
CONFIG_BASE_DIR = ROOT_DIR / 'config'
DOWNLOADS_BASE_DIR = ROOT_DIR / 'downloads'
STATIC_URL = str(os.getenv('DJANGO_STATIC_URL', '/static/'))
# This is not ever meant to be a public web interface so this isn't too critical