Commit 3779f68cf0e8d165ec21f398f884338a65725539
Put record class at the end of path, before type
cel committed on 11/2/2016, 11:24:19 PMParent: 9ed7859748c00b2f894a682a56f4676f6c85ba4f
Files changed
lib/publish.js | changed |
lib/publish.js | ||
---|---|---|
@@ -56,9 +56,9 @@ | ||
56 | 56 … | |
57 | 57 … | var val = { |
58 | 58 … | type: "ssb-dns", |
59 | 59 … | record: record, |
60 | - path: [record.class].concat(name.split(/\./g).reverse(), type) | |
60 … | + path: name.split(/\./g).reverse().concat(record.class, type) | |
61 | 61 … | } |
62 | 62 … | if (branches.length > 1) val.branch = branches; |
63 | 63 … | else if (branches.length == 1) val.branch = branches[0]; |
64 | 64 … |
Built with git-ssb-web