Files: bf289fc707717f3828ed39f6cfcfcc0c51d41947 / modules_core / blob-url.js
247 bytesRaw
1 | var config = require('../config') |
2 | |
3 | module.exports = { |
4 | gives: 'blob_url', |
5 | create: function () { |
6 | return function (link) { |
7 | if('string' == typeof link.link) |
8 | link = link.link |
9 | return config().blobsUrl + '/'+link |
10 | } |
11 | } |
12 | } |
13 | |
14 |
Built with git-ssb-web