feat: remove header

This commit is contained in:
shiweisong.ssw 2023-06-28 17:56:06 +08:00
parent 5083fdc717
commit d0619b3378
2 changed files with 0 additions and 6 deletions

View File

@ -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
}
)

View File

@ -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
}
)