add tris and url parsing

This commit is contained in:
ntr
2019-09-15 12:10:13 +10:00
parent a98f1d04af
commit a22521b119
3 changed files with 34 additions and 1 deletions
+4
View File
@@ -1,3 +1,5 @@
const querystring = require('query-string');
const toast = require('izitoast');
const cbor = require('borc');
@@ -310,6 +312,8 @@ function createSocket(events) {
ws = null;
}
console.log(querystring.parse(location.hash));
ws = new WebSocket(SOCKET_URL);
ws.binaryType = 'arraybuffer';