feat: blob rendering

This commit is contained in:
aarthificial
2022-06-03 02:25:15 +02:00
parent 1c0b7243cf
commit 4dff949de9

View File

@@ -40,8 +40,7 @@ function Rendering() {
const name = frame.toString().padStart(6, '0');
await fetch(`/render/frame${name}.png`, {
method: 'POST',
headers: {'Content-Type': 'text/plain'},
body: data.slice(22),
body: data,
});
} catch (e) {
console.error(e);