diff options
-rw-r--r-- | lib/serve.js | 2 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/serve.js b/lib/serve.js index 56b981b..066f5d4 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -2458,7 +2458,7 @@ Serve.prototype.composer = function (opts, cb) { if (data.upload) { var href = data.upload.link - + (data.upload.key ? '#' + data.upload.key : '') + + (data.upload.key ? '?unbox=' + data.upload.key + '.boxs': '') // TODO: be able to change the content-type var isImage = /^image\//.test(data.upload.type) data.text = (data.text ? data.text + '\n' : '') diff --git a/package.json b/package.json index 9df638d..76417ae 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "ssb-client": "http://localhost:8989/blobs/get/&EAaUpI+wrJM5/ly1RqZW0GAEF4PmCAmABBj7e6UIrL0=.sha256", "ssb-contact": "^1.2.0", "ssb-marked": "^0.7.1", - "ssb-mentions": "http://localhost:8989/blobs/get/&GKwsJ3ykvOXc24wyNuWBdmnCFpQ+Ltd9ggjoOuOF/Pg=.sha256", + "ssb-mentions": "http://localhost:8989/blobs/get/&GjuxknqKwJqHznKueFNCyIh52v1woz5PB41vqmoHfyM=.sha256", "ssb-sort": "^1.0.0", "stream-to-pull-stream": "^1.7.2" }, |