Moved to msgpack instead of js-binarypack

This commit is contained in:
Mitchell McCaffrey
2020-05-03 10:44:26 +10:00
parent ca0240351c
commit 05d5c76c86
5 changed files with 56 additions and 28 deletions

View File

@@ -149,6 +149,7 @@ function SelectMapModal({
const url = URL.createObjectURL(blob);
image.onload = function () {
handleMapAdd({
// Save as a buffer to send with msgpack
file: buffer,
name,
type: "file",