mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
fix: Adjust Google Drive file upload headers in processWeb call
This commit is contained in:
parent
7dace30587
commit
7d55f9bc2e
1 changed files with 4 additions and 1 deletions
|
|
@ -362,7 +362,10 @@
|
|||
|
||||
try {
|
||||
files = [...files, fileItem];
|
||||
const res = await processWeb(localStorage.token, '', fileData.url, fileData.headers);
|
||||
// Pass both URL and headers to processWeb
|
||||
const res = await processWeb(localStorage.token, '', fileData.url, {
|
||||
headers: fileData.headers
|
||||
});
|
||||
|
||||
if (res) {
|
||||
fileItem.status = 'uploaded';
|
||||
|
|
|
|||
Loading…
Reference in a new issue