1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-18 20:39:36 +02:00

Fixed frontend returning corrupt binary data

This commit is contained in:
Christian Zäske 2025-06-18 00:00:51 +02:00
parent 7f285f2b1d
commit 69631848cf
No known key found for this signature in database
GPG key ID: D56DA27475DA6E7E

View file

@ -85,7 +85,7 @@ async function handleRequest(
});
}
const responseData = await response.text();
const responseData = await response.bytes();
// Create a new Headers object without the 'set-cookie' header
const cleanHeaders = new Headers(response.headers);
cleanHeaders.delete('set-cookie');