feat: support both JSON and form-urlencoded body; change default port to 3333
This commit is contained in:
@@ -12,7 +12,7 @@ MIMO_VOICE = os.environ.get("MIMO_VOICE", "mimo_default")
|
||||
|
||||
# 服务器配置
|
||||
SERVER_HOST = os.environ.get("SERVER_HOST", "0.0.0.0")
|
||||
SERVER_PORT = int(os.environ.get("SERVER_PORT", "17200"))
|
||||
SERVER_PORT = int(os.environ.get("SERVER_PORT", "3333"))
|
||||
|
||||
# 音频存储目录
|
||||
AUDIO_DIR = os.environ.get("AUDIO_DIR", os.path.join(BASE_DIR, "audio"))
|
||||
|
||||
Reference in New Issue
Block a user