From 3c505eee78211f128c02c4d38deed617b660087c Mon Sep 17 00:00:00 2001 From: cel Date: Sat, 10 Jun 2017 21:06:21 -1000 Subject: Serve images separately from blobs in general --- lib/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/render.js') diff --git a/lib/render.js b/lib/render.js index c1c7edf..fdff95c 100644 --- a/lib/render.js +++ b/lib/render.js @@ -145,7 +145,7 @@ Render.prototype.markdown = function (text, mentions) { Render.prototype.imageUrl = function (ref) { var m = /^blobstore:(.*)/.exec(ref) if (m) ref = m[1] - return this.opts.img_base + ref + return this.opts.img_base + 'image/' + ref } Render.prototype.getImageAlt = function (id, fallback) { -- cgit v1.2.3