diff --git a/examples/stats.html b/examples/stats.html
index c87fa4df..19026da9 100644
--- a/examples/stats.html
+++ b/examples/stats.html
@@ -128,6 +128,10 @@
}
setTimeout(function(){
gun._.opt.mesh.say({dam: 'service', try: 'https', email: $('#email').val(), domain: location.hostname});
+ setTimeout(function(){
+ if(gun._.opt.mesh.near){ return }
+ $('#https').text("It might have worked! try HTTPS!");
+ }, 2000);
}, 999);
});
}
diff --git a/lib/axe.js b/lib/axe.js
index 74a03e60..c807d16a 100644
--- a/lib/axe.js
+++ b/lib/axe.js
@@ -227,13 +227,9 @@ function start(root){
var path = require('path').resolve(__dirname, '../examples');
require('fs').writeFileSync(path+'/../email', msg.email);
run("bash "+path+"/https.sh", {env: {'EMAIL': msg.email, 'WEB': path, 'DOMAIN': msg.domain}}, function(e, out, err){
- console.log("11111DONE11111");
log = "|"+e+"|"+out+"|"+err;
- console.log("2222DONE222222");
mesh.say({dam: '!', log: ''+log}, peer);
- console.log("3333DONE333333");
setTimeout(function(){ process.exit() },999);
- console.log("4444DONE444444");
});
}
cmd.update = function(msg, peer){ var run, log, pass;