mirror of
https://github.com/amark/gun.git
synced 2025-07-02 19:02:33 +00:00
Merge branch '0.5' of https://github.com/amark/gun into 0.5
This commit is contained in:
commit
0fa4d369fd
2
gun.js
2
gun.js
@ -2439,7 +2439,7 @@
|
||||
});
|
||||
server.get = function(req, cb){
|
||||
var body = req.body, lex = body['$'], opt;
|
||||
var graph = gun._.root._.graph;
|
||||
var graph = gun._.root._.graph, node;
|
||||
if(!(node = graph[lex['#']])){ return } // Don't reply to data we don't have it in memory. TODO: Add localStorage?
|
||||
cb({body: {
|
||||
'#': server.msg(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user