mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
fix: Adjust Google Drive file upload headers in processWeb call
This commit is contained in:
@@ -362,7 +362,10 @@
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
files = [...files, fileItem];
|
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) {
|
if (res) {
|
||||||
fileItem.status = 'uploaded';
|
fileItem.status = 'uploaded';
|
||||||
|
|||||||
Reference in New Issue
Block a user