Commit 8357a1060c15a15a10fd492885f927c8465f68f3
Merge branch 'path'
ansuz committed on 11/3/2016, 8:00:10 AMParent: 8b277e861c3c9b30cb3e985a8b7fd3bdad237398
Parent: 3779f68cf0e8d165ec21f398f884338a65725539
Files changed
lib/publish.js | changed |
lib/publish.js | ||
---|---|---|
@@ -55,9 +55,10 @@ | ||
55 | 55 … | if (err) { return void cb(err); } |
56 | 56 … | |
57 | 57 … | var val = { |
58 | 58 … | type: "ssb-dns", |
59 | - record: record | |
59 … | + record: record, | |
60 … | + path: name.split(/\./g).reverse().concat(record.class, type) | |
60 | 61 … | } |
61 | 62 … | if (branches.length > 1) val.branch = branches; |
62 | 63 … | else if (branches.length == 1) val.branch = branches[0]; |
63 | 64 … |
Built with git-ssb-web