default config

This commit is contained in:
rimu 2024-02-27 07:09:56 +13:00
parent 941ecee088
commit c99106fa42
2 changed files with 7 additions and 3 deletions

View file

@ -32,7 +32,7 @@ class Config(object):
SQLALCHEMY_ECHO = False # set to true to see SQL in console
WTF_CSRF_TIME_LIMIT = None # a value of None ensures csrf token is valid for the lifetime of the session
BOUNCE_HOST = os.environ.get('BOUNCE_HOST')
BOUNCE_USERNAME = os.environ.get('BOUNCE_USERNAME')
BOUNCE_PASSWORD = os.environ.get('BOUNCE_PASSWORD')
BOUNCE_HOST = os.environ.get('BOUNCE_HOST') or ''
BOUNCE_USERNAME = os.environ.get('BOUNCE_USERNAME') or ''
BOUNCE_PASSWORD = os.environ.get('BOUNCE_PASSWORD') or ''

View file

@ -10,3 +10,7 @@ CACHE_TYPE='FileSystemCache'
CACHE_DIR='/dev/shm/pyfedi'
CELERY_BROKER_URL='redis://localhost:6379/1'
CACHE_REDIS_URL='redis://localhost:6379/1'
BOUNCE_HOST=''
BOUNCE_USERNAME=''
BOUNCE_PASSWORD=''