This commit is contained in:
Ubuntu
2026-08-10 22:38:12 +08:00
parent 624be459a3
commit b6e25b8a9c
74 changed files with 255 additions and 104 deletions
+4 -4
View File
@@ -3,9 +3,9 @@ class Config:
# 应用名称
APP_NAME = "Hair Change Color"
REMOTE_API_URL = "http://xiangsilian.com:18801/api/swapHair/v1"
REMOTE_API_URL = "http://xiangsilian.com:38801/api/swapHair/v1"
REMOTE_HAIR_COLOR_API_URL = "http://xiangsilian.com:18801/hairColor/v2"
REMOTE_HAIR_COLOR_API_URL = "http://xiangsilian.com:38801/hairColor/v2"
# 远程发型更换API地址
# REMOTE_API_URL = "http://117.50.160.71:8801/api/swapHair/v1"
@@ -20,5 +20,5 @@ class Config:
MAX_CONTENT_LENGTH = 16 * 1024 * 1024 # 16MB
ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif'}
# 开发环境配置
DEBUG = True
# 生产环境关闭调试
DEBUG = False