git ssb

7+

dinoworm 🐛 / patchcore



Commit a17cf2e975bdfd8c86fa1e1d91c50c7172ade5ff

use latest ssbc/ssb-ref#15 blob parsing

Matt McKegg committed on 4/20/2018, 1:35:38 AM
Parent: 8e90c8e8cb8f0b22e2d4f3c0ff91bb80b4880378

Files changed

message/html/markdown.jschanged
package-lock.jsonchanged
message/html/markdown.jsView
@@ -48,11 +48,11 @@
4848 },
4949 toUrl: (id) => {
5050 if (ref.isBlob(id)) {
5151 var blob = ref.parseBlob(id)
52- var url = api.blob.sync.url(blob.id)
52 + var url = api.blob.sync.url(blob.link)
5353 var query = {}
54- if (blob.key) query['unbox'] = blob.key + '.boxs'
54 + if (blob.query && blob.query.unbox) query['unbox'] = blob.query.unbox
5555 if (typeLookup[blob.id]) query['contentType'] = typeLookup[blob.id]
5656 return url + '?' + querystring.stringify(query)
5757 }
5858 if (mentions[id]) {
package-lock.jsonView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 106974 bytes
New file size: 106974 bytes

Built with git-ssb-web