fix for api upload when private_society is enabled

This commit is contained in:
2026-05-23 20:34:18 +02:00
parent e0c435009b
commit b608208cf9
2 changed files with 2 additions and 2 deletions

View File

@@ -662,7 +662,7 @@ export const handleUpload = async (req, res, self) => {
itemid: itemid,
manual_approval: manualApproval,
redirect: !manualApproval ? `/${itemid}` : null,
url: !manualApproval ? `${cfg.main.url.full}/${itemid}` : null
url: !manualApproval ? `${cfg.main.url.full}/${itemid}` : `${cfg.main.url.full}/`
});
} catch (err) {