mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
default config
This commit is contained in:
parent
941ecee088
commit
c99106fa42
2 changed files with 7 additions and 3 deletions
|
@ -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 ''
|
||||
|
||||
|
|
|
@ -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=''
|
||||
|
|
Loading…
Reference in a new issue