lint: fix lint issue

This commit is contained in:
Barış Soner Uşaklı
2025-08-21 10:49:13 -04:00
parent 181aa9c2ed
commit 5dfd241335

View File

@@ -222,7 +222,7 @@ function addTags(categoryData, res, currentPage) {
];
if (categoryData.backgroundImage) {
let {backgroundImage} = categoryData;
let { backgroundImage } = categoryData;
backgroundImage = utils.decodeHTMLEntities(backgroundImage);
if (!backgroundImage.startsWith('http')) {
backgroundImage = url + backgroundImage.replace(new RegExp(`^${nconf.get('relative_path')}`), '');