提交 912bb57f authored 作者: 陈泽健's avatar 陈泽健

chore(deploy): upload 脚本补 templates 目录到上传清单

P1 收尾三项前端改了 index.html/login.html(加 errMsg 兼容函数),
需同步上传到生产环境,否则新错误响应对象格式会让前端显示 [object Object]。
Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
上级 c7a05bc8
......@@ -35,11 +35,12 @@ FILES_TO_UPLOAD = [
]
# 需要上传的目录(相对 LOCAL_BASE → 远程 web 目录下同名子目录)
# P1-1 新增 utils/ 模块;P1-3 新增 routes/ services/ 目录
# P1-1 新增 utils/ 模块;P1-3 新增 routes/ services/ 目录;P1 收尾新增 templates
DIRS_TO_UPLOAD = [
('utils', 'web/utils'),
('routes', 'web/routes'), # P1-3:5 个 Blueprint
('services', 'web/services'), # P1-3:ai_service / record_service
('routes', 'web/routes'), # P1-3:5 个 Blueprint
('services', 'web/services'), # P1-3:ai_service / record_service
('templates', 'web/templates'), # P1 收尾:errMsg 前端兼容适配
]
def upload_files():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论