mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-06 08:01:11 +00:00
fix: convert Node.js Buffer to Uint8Array for Response constructor
This commit is contained in:
parent
32f2c69ba1
commit
4ddba35f47
1 changed files with 1 additions and 1 deletions
|
|
@ -962,7 +962,7 @@ app.whenReady().then(() => {
|
|||
break;
|
||||
}
|
||||
|
||||
return new Response(data, {
|
||||
return new Response(new Uint8Array(data), {
|
||||
headers: {
|
||||
'Content-Type': contentType,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue