oops maybe without this it crashed the peer

This commit is contained in:
Mark Nadal 2021-07-02 13:33:55 -07:00
parent 8e696e2f5c
commit 61a2b86240

1
axe.js
View File

@ -36,6 +36,7 @@
var opt = at.opt, peers = opt.peers;
if(false === opt.axe){ return }
if((typeof process !== "undefined") && 'false' === ''+(process.env||'').AXE){ return }
if(!Gun.window){ return }
var axe = at.axe = {}, tmp, id;
tmp = peers[id = 'http://localhost:8765/gun'] = peers[id] || {};
tmp.id = tmp.url = id;