aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js2
1 files changed, 1 insertions, 1 deletions
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),
}