1 diff --git a/etebase_server/settings.py b/etebase_server/settings.py
2 index 9baf8d3..501d9f6 100644
3 --- a/etebase_server/settings.py
4 +++ b/etebase_server/settings.py
6 # Quick-start development settings - unsuitable for production
7 # See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/
9 -# SECURITY WARNING: keep the secret key used in production secret!
10 -# See secret.py for how this is generated; uses a file 'secret.txt' in the root
12 -SECRET_FILE = os.path.join(BASE_DIR, "secret.txt")
14 # SECURITY WARNING: don't run with debug turned on in production!
19 section = config["global"]
21 - SECRET_FILE = section.get("secret_file", SECRET_FILE)
22 + SECRET_FILE = section.get("secret_file", None)
23 STATIC_ROOT = section.get("static_root", STATIC_ROOT)
24 STATIC_URL = section.get("static_url", STATIC_URL)
25 MEDIA_ROOT = section.get("media_root", MEDIA_ROOT)