mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 12:59:36 +02:00
Merge pull request #676 from blitzdose/main
Fixed frontend returning corrupt binary data
This commit is contained in:
commit
380fe1364f
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue