Skip to content

Commit 170438f

Browse files
committed
config.__init.py中标明SITE_DOMAIN
1 parent b552a95 commit 170438f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/config/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ class BaseConfig(object):
1616

1717
# 指定加密KEY
1818
SECRET_KEY = os.getenv("SECRET_KEY", "https://github.com/TaleLin/lin-cms-flask")
19+
20+
# 指定访问api服务的url, 用于文件上传
21+
# SITE_DOMAIN="https://lincms.example.com"
1922

2023
# 指定数据库
2124
SQLALCHEMY_DATABASE_URI = os.getenv(

0 commit comments

Comments
 (0)