Merge pull request 'fixing key error in app init' (#3) from config/mail-config into main

Reviewed-on: https://codeberg.org/saint/pyfedi/pulls/3
This commit is contained in:
saint 2024-02-25 09:12:12 +00:00
commit 7806057d64

View file

@ -17,6 +17,7 @@ class Config(object):
MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD')
MAIL_FROM = os.environ.get('MAIL_FROM')
ADMINS = os.environ.get('ADMINS')
RECAPTCHA_PUBLIC_KEY = os.environ.get("RECAPTCHA_PUBLIC_KEY")
RECAPTCHA_PRIVATE_KEY = os.environ.get("RECAPTCHA_PRIVATE_KEY")
MODE = os.environ.get('MODE') or 'development'