diff --git a/install/package.json b/install/package.json index 865e1a0a19..c7ff1cbc04 100644 --- a/install/package.json +++ b/install/package.json @@ -101,7 +101,7 @@ "nodebb-plugin-spam-be-gone": "0.7.7", "nodebb-rewards-essentials": "0.1.4", "nodebb-theme-lavender": "5.0.17", - "nodebb-theme-persona": "10.3.17", + "nodebb-theme-persona": "10.3.18", "nodebb-theme-slick": "1.3.7", "nodebb-theme-vanilla": "11.3.10", "nodebb-widget-essentials": "5.0.2", diff --git a/src/topics/thumbs.js b/src/topics/thumbs.js index d65b99b3c4..169bc8d60e 100644 --- a/src/topics/thumbs.js +++ b/src/topics/thumbs.js @@ -32,7 +32,7 @@ Thumbs.get = async function (tids) { } const hasTimestampPrefix = /^\d+-/; - const upload_url = nconf.get('upload_url'); + const upload_url = nconf.get('relative_path') + nconf.get('upload_url'); const sets = tids.map(tid => `${validator.isUUID(String(tid)) ? 'draft' : 'topic'}:${tid}:thumbs`); const thumbs = await Promise.all(sets.map(set => getThumbs(set))); let response = thumbs.map((thumbSet, idx) => thumbSet.map(thumb => ({ diff --git a/src/views/modals/topic-thumbs.tpl b/src/views/modals/topic-thumbs.tpl index 814ea86718..7ee9773836 100644 --- a/src/views/modals/topic-thumbs.tpl +++ b/src/views/modals/topic-thumbs.tpl @@ -5,7 +5,7 @@ {{{ each thumbs }}}