add tris and url parsing
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
"preact-compat": "^3.19.0",
|
||||
"preact-context": "^1.1.3",
|
||||
"preact-redux": "^2.1.0",
|
||||
"query-string": "^6.8.3",
|
||||
"react-string-replace": "^0.4.4",
|
||||
"react-stripe-elements": "^3.0.0",
|
||||
"redux": "^4.0.0"
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user