mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
oops maybe without this it crashed the peer
This commit is contained in:
parent
8e696e2f5c
commit
61a2b86240
1
axe.js
1
axe.js
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user