first commit
This commit is contained in:
27
const.py
Normal file
27
const.py
Normal file
@@ -0,0 +1,27 @@
|
||||
import os
|
||||
BASE_PATH = os.path.dirname(__file__)
|
||||
SAFE = '!'
|
||||
MIMETYPE = {
|
||||
'jpg': 'image/jpeg',
|
||||
'jpeg': 'image/jpeg',
|
||||
'png': 'image/png',
|
||||
# 'gif': 'image/gif',
|
||||
'mp4': 'video/mp4',
|
||||
}
|
||||
|
||||
PIC_TYPE = ('image/jpeg', 'image/png')
|
||||
|
||||
|
||||
ELEMENT = {
|
||||
}
|
||||
|
||||
# ucloud-us3
|
||||
PUBLIC_KEY = '4ZF9nrEbA93FDL29606cKFGYEb59Zu9ip' # 账户公钥
|
||||
PRIVATE_KEY = 'FD9DgHZVe4Q9GevRb8QcwBD6S8Iesv48ZBsWImwEGPZr' # 账户私钥
|
||||
BUCKET = 'fanzhixitong' # 空间名称
|
||||
UPLOAD_SUFFIX = '.jpn-tky.ufileos.com'
|
||||
DOWNLOAD_SUFFIX = '.jpn-tky.ufileos.com'
|
||||
|
||||
# DOVE PROXY
|
||||
DOVE_USER = 'fetdog'
|
||||
DOVE_PWD = 'aAa123456aAa'
|
||||
Reference in New Issue
Block a user