mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-12-23 22:58:17 -05:00
Merge pull request #676 from blitzdose/main
Fixed frontend returning corrupt binary data
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user