diff --git a/frontend/src/backupApi.js b/frontend/src/backupApi.js index 15ed9f7..8a1c022 100644 --- a/frontend/src/backupApi.js +++ b/frontend/src/backupApi.js @@ -1,6 +1,6 @@ import { getToken } from './authApi'; -const API_BASE_URL = window.ENV?.API_URL || 'http://localhost:8000'; +const API_BASE_URL = window.__ENV__?.API_BASE || 'http://localhost:8000'; /** * Trigger a manual database backup (admin only)