forked from newthuhole/hole_thu_backend
配置样例 README
This commit is contained in:
12
config.sample.py
Normal file
12
config.sample.py
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import random, string, time
|
||||||
|
|
||||||
|
SQLALCHEMY_DATABASE_URI='sqlite:///hole.db'
|
||||||
|
SQLALCHEMY_TRACK_MODIFICATIONS=False
|
||||||
|
JSON_AS_ASCII=False
|
||||||
|
CLIENT_ID='<id>'
|
||||||
|
CLIENT_SECRET='<secret>'
|
||||||
|
MASTODON_URL='https://thu.closed.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())
|
||||||
Reference in New Issue
Block a user