first commit
This commit is contained in:
@@ -23,14 +23,14 @@ class Config:
|
||||
|
||||
# OpenAI兼容API配置
|
||||
LLM_API_URL = os.environ.get('LLM_API_URL') or 'https://api.deepseek.com/v1'
|
||||
LLM_API_KEY = os.environ.get('LLM_API_KEY') or 'sk-your-api-key-here'
|
||||
LLM_API_KEY = os.environ.get('LLM_API_KEY')
|
||||
|
||||
# 微信小程序配置
|
||||
WX_APPID = os.environ.get('WX_APPID') or 'wx-your-appid-here'
|
||||
WX_SECRET = os.environ.get('WX_SECRET') or 'your-wx-secret-here'
|
||||
|
||||
# 跨域配置
|
||||
CORS_ORIGINS = os.environ.get('CORS_ORIGINS', '*').split(',')
|
||||
WX_APPID = os.environ.get('WX_APPID')
|
||||
WX_SECRET = os.environ.get('WX_SECRET')
|
||||
|
||||
# 跨域配置 - 默认值在具体环境配置中设置
|
||||
CORS_ORIGINS = os.environ.get('CORS_ORIGINS', '').split(',')
|
||||
|
||||
# 日志配置
|
||||
LOG_LEVEL = os.environ.get('LOG_LEVEL', 'INFO')
|
||||
|
||||
Reference in New Issue
Block a user