Node.js based forum software built for the modern web
fix: wrong variable name
Julian Lam50f31b236aba
diff --git a/src/activitypub/mocks.js b/src/activitypub/mocks.jsindex 7698bf058a..cda97fcd65 100644--- a/src/activitypub/mocks.js+++ b/src/activitypub/mocks.js@@ -285,7 +285,7 @@ Mocks.note = async (post) => {const uploads = await posts.uploads.listWithSizes(post.pid);uploads.forEach(({ name, width, height }) => {const mediaType = mime.getType(name);- const url = `${nconf.get('upload_url')}/${name}`;+ const url = `${nconf.get('url') + nconf.get('upload_url')}/${name}`;attachment.push({ mediaType, url, width, height });});