fix: image upload limit and path resolution between publik and kemiskinan
This commit is contained in:
@@ -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 = `
|
||||
|
||||
Reference in New Issue
Block a user