Files: b1fc586afe1b02db034fa275db35c84c915ff42f / 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