diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-10-19 16:44:21 +0200 | 
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-10-19 16:44:21 +0200 | 
| commit | 556a5922844cf900149f0b7f58fa67d4b18b2729 (patch) | |
| tree | 24ff0383a988bc387b63e7861b9558ff42125b88 /fsweb/settings.py | |
| parent | acce3095ee2818d879c3c5a179f992d686e43200 (diff) | |
set STATIC_ROOT from env, fix .env.dev
Diffstat (limited to 'fsweb/settings.py')
| -rw-r--r-- | fsweb/settings.py | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/fsweb/settings.py b/fsweb/settings.py index abc823e..9221719 100644 --- a/fsweb/settings.py +++ b/fsweb/settings.py @@ -30,6 +30,7 @@ else:  DEBUG = os.getenv('DEBUG') == 'True'  SECRET_KEY = os.getenv('SECRET_KEY')  ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', '').split(',') +STATIC_ROOT = os.getenv('STATIC_ROOT')  if not SECRET_KEY:      raise ValueError("SECRET_KEY is not set in the .env file")  | 
