This commit is contained in:
ntr
2019-06-12 23:33:46 +10:00
parent a12e0c698f
commit 59320da37d
6 changed files with 536 additions and 427 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
const toast = require('izitoast');
const cbor = require('borc');
const SOCKET_URL = process.env.NODE_ENV === 'production' ? 'wss://mnml.gg/ws' : 'ws://localhost:40000';
const SOCKET_URL = process.env.NODE_ENV === 'production' ? 'wss://mnml.gg/ws' : 'ws://localhost:40000/ws/';
function errorToast(err) {
console.error(err);