Add variable containing the path to upload directory.

This commit is contained in:
Patrick Jentsch 2019-08-01 08:21:13 +02:00
parent a863e8f04f
commit 9805a6be74

View File

@ -14,6 +14,7 @@ class Config:
OPAQUE_ADMIN = os.environ.get('OPAQUE_ADMIN') OPAQUE_ADMIN = os.environ.get('OPAQUE_ADMIN')
OPAQUE_MAIL_SUBJECT_PREFIX = '[Opaque]' OPAQUE_MAIL_SUBJECT_PREFIX = '[Opaque]'
OPAQUE_MAIL_SENDER = 'Opaque Development <dev.opaque@gmail.com>' OPAQUE_MAIL_SENDER = 'Opaque Development <dev.opaque@gmail.com>'
OPAQUE_UPLOAD_DIRECTORY = os.environ.get('OPAQUE_UPLOAD_DIRECTORY')
SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string' SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string'
SQLALCHEMY_TRACK_MODIFICATIONS = False SQLALCHEMY_TRACK_MODIFICATIONS = False