update settings

This commit is contained in:
Carneiro 2023-10-04 23:01:58 -03:00
parent 7b56e8a892
commit 03fc25e88a
1 changed files with 5 additions and 4 deletions

View File

@ -12,8 +12,9 @@ KEY_DIR = os.path.join(APP_DIR, 'keys')
JWT_PRIV_PATH = os.path.join(KEY_DIR, 'jwtRS256.key')
JWT_PUB_PATH = os.path.join(KEY_DIR, 'jwtRS256.key.pub')
JWT_EXP_TIME = 2592000
USER_DATABASE = '/home/gabriel/db.json'
STREAM_DATABASE = '/home/gabriel/streams.json'
LIVE_STREAM_DATABASE = '/home/gabriel/live_streams.json'
DBS_PATH = os.path.join(APP_DIR, 'dbs')
os.path.join(DBS_PATH, 'x.json')
USER_DATABASE = os.path.join(DBS_PATH, 'users.json')
STREAM_DATABASE = os.path.join(DBS_PATH, 'streams.json')
LIVE_STREAM_DATABASE = os.path.join(DBS_PATH, 'live_streams.json')
STREAM_KEY_LENGTH = 32