Skip to content

Node.js based forum software built for the modern web

chore: up themes

Barış Soner Uşaklı6c95dd0fcfdc
diff --git a/install/package.json b/install/package.json
index 9e702b7dc1..552e538f0d 100644
--- a/install/package.json
+++ b/install/package.json
@@ -113,10 +113,10 @@
"nodebb-plugin-spam-be-gone": "2.3.5",
"nodebb-plugin-web-push": "0.9.3",
"nodebb-rewards-essentials": "1.0.3",
- "nodebb-theme-harmony": "3.2.1",
+ "nodebb-theme-harmony": "3.2.2",
"nodebb-theme-lavender": "8.1.0",
"nodebb-theme-peace": "3.1.2",
- "nodebb-theme-persona": "15.2.1",
+ "nodebb-theme-persona": "15.2.2",
"nodebb-widget-essentials": "8.0.9",
"nodemailer": "9.0.5",
"nprogress": "0.2.0",
diff --git a/src/controllers/accounts/uploads.js b/src/controllers/accounts/uploads.js
index 18a93df3a1..f161d45eaf 100644
--- a/src/controllers/accounts/uploads.js
+++ b/src/controllers/accounts/uploads.js
@@ -26,6 +26,7 @@ uploadsController.get = async function (req, res) {
payload.uploads = uploadNames.map(uploadName => ({
name: uploadName,
+ filename: path.basename(uploadName),
url: path.posix.join(nconf.get('upload_url'), uploadName),
isImage: mime.getType(uploadName)?.startsWith('image/'),
}));