mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-17 15:58:25 +00:00
feat: remove header
This commit is contained in:
parent
5083fdc717
commit
d0619b3378
@ -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
|
||||
}
|
||||
)
|
||||
|
@ -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
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user