fix server-to-server for @d3x0r

This commit is contained in:
Mark Nadal
2016-07-07 09:56:31 -07:00
parent 6986de3aa1
commit ab60299fe0
5 changed files with 71 additions and 22 deletions

View File

@@ -0,0 +1,6 @@
var Gun = require('../../index');
var location = {host:"localhost"};
var gun = Gun( 'ws://' + location.host + ':8081/gun');
var gdb = gun.get( 'data' );
gdb.map(function(val,field){ console.log( field, "=", val ); } );
console.log( "done... wait forever?" );