mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-18 16:27:31 +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`,
|
`http://localhost:8000/knowledge/${spaceName}/document/upload`,
|
||||||
{
|
{
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
|
||||||
'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'
|
|
||||||
},
|
|
||||||
body: formData
|
body: formData
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
@ -352,9 +352,6 @@ const Index = () => {
|
|||||||
`http://localhost:8000/knowledge/${knowledgeSpaceName}/document/upload`,
|
`http://localhost:8000/knowledge/${knowledgeSpaceName}/document/upload`,
|
||||||
{
|
{
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
|
||||||
'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'
|
|
||||||
},
|
|
||||||
body: formData
|
body: formData
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user