Files: f8196f783e989cd2c04642e1f2d7e1d21b4ef287 / modules / blob-url.js
170 bytesRaw
1 | var config = require('../config') |
2 | |
3 | exports.blob_url = function (link) { |
4 | if('string' == typeof link.link) |
5 | link = link.link |
6 | return config().blobsUrl + '/'+link |
7 | } |
8 | |
9 | |
10 |
Built with git-ssb-web