Fix: Disable FORCE_LOCAL_MODE untuk production
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user