fix: parse sse

This commit is contained in:
Bowen
2023-10-17 11:32:35 +08:00
committed by josc146
parent f26c566004
commit f2098d8f40
+1
View File
@@ -34,6 +34,7 @@ export async function fetchSSE(resource, options) {
parser.feed(formattedStr)
} catch (error) {
console.debug('json error', error)
parser.feed(str)
}
}