Files: 8dc25143a3f37f1618f7a92b3c46dec512b43bfd / modules / 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