mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-12 09:26:33 +01:00
Remove ignoreBOM
Apparently the ignoreBOM option actually means "include the BOM". I've added a test for this in my own repository, and will also be submitting a pull request to MDN to clarify this in their documentation.
This commit is contained in:
parent
b0e7b73a32
commit
699c369443
@ -3,7 +3,7 @@
|
||||
*/
|
||||
class EventSourceStream {
|
||||
constructor() {
|
||||
const decoder = new TextDecoderStream('utf-8', { ignoreBOM: true });
|
||||
const decoder = new TextDecoderStream('utf-8');
|
||||
|
||||
let streamBuffer = '';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user