Fix: Disable FORCE_LOCAL_MODE untuk production

This commit is contained in:
BTekno Dev
2026-01-01 23:42:59 +07:00
parent 5e330e931b
commit e7e2042e86

View File

@@ -2,7 +2,8 @@
// Konfigurasi API Base URL untuk frontend
// FORCE LOCAL MODE - Set ke true untuk force menggunakan API lokal
const FORCE_LOCAL_MODE = true; // Set ke false untuk auto-detect
// IMPORTANT: Set ke false untuk production!
const FORCE_LOCAL_MODE = false; // Set ke true hanya untuk testing lokal
// Auto-detect API Base URL berdasarkan hostname
function getApiBaseUrl() {