mirror of
https://github.com/amark/gun.git
synced 2026-03-05 16:49:04 +00:00
fix server-to-server for @d3x0r
This commit is contained in:
6
test/server/node-client.js
Normal file
6
test/server/node-client.js
Normal 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?" );
|
||||
Reference in New Issue
Block a user