summaryrefslogtreecommitdiff
path: root/src/components/Config.js
diff options
context:
space:
mode:
authorHaishan <[email protected]>2019-04-19 00:16:01 +0800
committerHaishan <[email protected]>2019-04-19 00:17:06 +0800
commite68f4ce9664f8164fd6aab284feb9ebed9f2ecdb (patch)
tree3e94f49e44daebfb35089152b89cc2f02f3cfdcb /src/components/Config.js
parent54646e8fe650334aaccb5d0a0efeca21c203e54d (diff)
fix(streaming): split and join JSON string chunks correctly
for #13 Sometimes in Safari, in one "pump" you can get the content below(decoded text string): '{"up":0,"down":38589}\n{"up":0,"down":59928}' and then JSON.parse will throw
Diffstat (limited to 'src/components/Config.js')
0 files changed, 0 insertions, 0 deletions