Files: 968dba2f62d9e537fe3cd9013e6faa8f753e38a2 / 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