Fix Coolify URLs and database config
This commit is contained in:
@@ -600,7 +600,7 @@ $idIbadah = $_SESSION['id_ibadah'] ?? null;
|
||||
// ════════════════════════════════════════════════════════════════
|
||||
// CONFIG
|
||||
// ════════════════════════════════════════════════════════════════
|
||||
const API = 'http://localhost/web_gis/01/api.php';
|
||||
const API = '/api.php';
|
||||
const USER_ROLE = '<?= $role ?>';
|
||||
const USER_ID_IBADAH = <?= $idIbadah ?? 'null' ?>;
|
||||
|
||||
@@ -1341,8 +1341,8 @@ function shakeEl(id) {
|
||||
// ════════════════════════════════════════════════════════════════
|
||||
// MODAL DETAIL — buka dari popup atau sidebar
|
||||
// ════════════════════════════════════════════════════════════════
|
||||
const UPLOAD_URL = 'http://localhost/web_gis/01/upload.php';
|
||||
const FOTO_BASE = 'http://localhost/web_gis/01/uploads/';
|
||||
const UPLOAD_URL = '/upload.php';
|
||||
const FOTO_BASE = '/uploads/';
|
||||
|
||||
let detailMiskinId = null; // ID KK yang sedang dibuka di modal detail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user