From 5a8a31c7e4523ef4de4c20e28443f9ea18961ce4 Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 16 Nov 2017 11:01:20 -0500 Subject: Allow specifying img_base without prefix --- lib/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/app.js') diff --git a/lib/app.js b/lib/app.js index 0adf59a..7d8516a 100644 --- a/lib/app.js +++ b/lib/app.js @@ -34,7 +34,7 @@ function App(sbot, config) { this.opts = { base: base, blob_base: conf.blob_base || conf.img_base || base, - img_base: conf.img_base || base, + img_base: conf.img_base || (base + 'image/'), emoji_base: conf.emoji_base || (base + 'emoji/'), encode_msgids: conf.encode_msgids == null ? true : Boolean(conf.encode_msgids), } -- cgit v1.2.3