diff --git a/datacenter/app/datastores/documents/page.tsx b/datacenter/app/datastores/documents/page.tsx index 511f848c8..f1612aaa1 100644 --- a/datacenter/app/datastores/documents/page.tsx +++ b/datacenter/app/datastores/documents/page.tsx @@ -355,9 +355,6 @@ const Documents = () => { `http://localhost:8000/knowledge/${spaceName}/document/upload`, { method: 'POST', - headers: { - 'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' - }, body: formData } ) diff --git a/datacenter/app/datastores/page.tsx b/datacenter/app/datastores/page.tsx index ceea11a0a..356968e45 100644 --- a/datacenter/app/datastores/page.tsx +++ b/datacenter/app/datastores/page.tsx @@ -352,9 +352,6 @@ const Index = () => { `http://localhost:8000/knowledge/${knowledgeSpaceName}/document/upload`, { method: 'POST', - headers: { - 'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' - }, body: formData } )