forked from newthuhole/hole_thu_backend
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
428 B
15 lines
428 B
import random |
|
import string |
|
import time |
|
|
|
SQLALCHEMY_DATABASE_URI = 'sqlite:///hole.db' |
|
SQLALCHEMY_TRACK_MODIFICATIONS = False |
|
JSON_AS_ASCII = False |
|
CLIENT_ID = '<id>' |
|
CLIENT_SECRET = '<secret>' |
|
MASTODON_URL = 'https://mastodon.social' |
|
REDIRECT_URI = 'http://hole.thu.monster/_auth' |
|
SALT = ''.join(random.choices(string.ascii_letters + string.digits, k=32)) |
|
ADMINS = ['cs_114514'] |
|
START_TIME = int(time.time()) |
|
ENABLE_TMP = True
|
|
|