fix: image upload limit and path resolution between publik and kemiskinan

This commit is contained in:
2026-06-12 10:43:05 +07:00
parent 0d995aee1e
commit b81a0166fa
5 changed files with 55 additions and 25 deletions
+1 -1
View File
@@ -572,7 +572,7 @@ function renderPenduduk(item) {
let fotoHtml = '';
if (item.foto_rumah) {
fotoHtml += `<img src="uploads/${item.foto_rumah}" style="width:100%;height:120px;object-fit:cover;border-radius:8px;margin-bottom:8px;">`;
fotoHtml += `<img src="../kemiskinan/uploads/${item.foto_rumah}" style="width:100%;height:120px;object-fit:cover;border-radius:8px;margin-bottom:8px;">`;
}
const popup = `