Skip to content

Commit e0252d9

Browse files
committed
(WIP) use bytes instead of text for fetch responses
1 parent 321db12 commit e0252d9

File tree

5 files changed

+44
-8
lines changed

5 files changed

+44
-8
lines changed

js/miso.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function fetchFFI(url, method, body, headers, successful, errorful) {
2727
if (!response.ok) {
2828
throw new Error(response.statusText);
2929
}
30-
return response.text();
30+
return response.bytes();
3131
}).then(successful).catch(errorful);
3232
}
3333
function shouldSync(node) {

0 commit comments

Comments
 (0)