Read secret key from environment

This commit is contained in:
Maximilian Friedersdorff 2024-06-28 10:05:25 +01:00
parent 63cc667b8a
commit f60f944103

View file

@ -1,3 +1,5 @@
import os
from .base import *
@ -18,3 +20,5 @@ MEDIA_ROOT = "/srv/www/beer.gwairfelin.com/media"
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
SECRET_KEY = os.environ.get("REINHEIT_SECRET_KEY")