mirror of
https://github.com/amark/gun.git
synced 2025-06-06 22:26:48 +00:00
re-enable all stats for demo/testing peers
This commit is contained in:
parent
14ebd73d80
commit
4bb9d2dd51
@ -2,7 +2,7 @@
|
|||||||
var Gun = require('../gun'), u;
|
var Gun = require('../gun'), u;
|
||||||
Gun.serve = require('./serve');
|
Gun.serve = require('./serve');
|
||||||
//process.env.GUN_ENV = process.env.GUN_ENV || 'debug';
|
//process.env.GUN_ENV = process.env.GUN_ENV || 'debug';
|
||||||
//console.LOG = true; // only temporarily, REVERT THIS IN FUTURE!
|
console.LOG = true; // only temporarily, REVERT THIS IN FUTURE!
|
||||||
Gun.on('opt', function(root){
|
Gun.on('opt', function(root){
|
||||||
if(u === root.opt.super){
|
if(u === root.opt.super){
|
||||||
root.opt.super = true;
|
root.opt.super = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user