1
0
Fork 0

Revert specifying config path in settings.py

This commit is contained in:
Reinout Meliesie 2025-03-11 15:13:20 +01:00
parent e9f11a4d29
commit d81dbe07dd
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -13,7 +13,7 @@ from django.core.exceptions import ImproperlyConfigured
# pylint: disable=line-too-long # pylint: disable=line-too-long
env = Env() env = Env()
env.read_env("/etc/bookwyrm/config.env", recurse=False) env.read_env()
DOMAIN = env("DOMAIN") DOMAIN = env("DOMAIN")
with open("VERSION", encoding="utf-8") as f: with open("VERSION", encoding="utf-8") as f: