chore: 整理项目结构,清理归档文件,更新部署配置

This commit is contained in:
Simon
2026-07-04 21:01:39 +08:00
parent 8bd4ab0366
commit 64ff1bf7d5
508 changed files with 43575 additions and 14129 deletions
+4 -2
View File
@@ -115,8 +115,9 @@ export async function uploadImage(file: File): Promise<{
'/messages/image',
formData,
{
// ISS-B4 修复:不显式设置 Content-Type,让浏览器自动生成带 boundary 的 multipart/form-data
headers: {
'Content-Type': 'multipart/form-data',
'Content-Type': undefined,
},
}
)
@@ -141,8 +142,9 @@ export async function uploadMessageFile(file: File): Promise<{
'/messages/file',
formData,
{
// ISS-B4 修复:不显式设置 Content-Type,让浏览器自动生成带 boundary 的 multipart/form-data
headers: {
'Content-Type': 'multipart/form-data',
'Content-Type': undefined,
},
}
)