fix: convert Node.js Buffer to chore: Uint8Array for Response constructor (#64)

This commit is contained in:
Tao Sun 2025-08-04 11:30:41 +08:00 committed by GitHub
commit 94d739740e

View file

@ -962,7 +962,7 @@ app.whenReady().then(() => {
break;
}
return new Response(data, {
return new Response(new Uint8Array(data), {
headers: {
'Content-Type': contentType,
},