Files: cab96cfe6398bece694d747fcda9a4ec2211eef3 / modules_core / blob-url.js
233 bytesRaw
1 | var config = require('../config') |
2 | |
3 | module.exports = { |
4 | gives: 'blob_url', |
5 | create: () => { |
6 | return 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