diff --git a/public/shell.php b/public/shell.php index 5049a8c..f23781d 100644 --- a/public/shell.php +++ b/public/shell.php @@ -76,7 +76,7 @@ // مُصادَق — API Client (Inlined for reliability) // ══════════════════════════════════════════════════════════ const API = { - baseUrl: 'api.php', // Use relative path to api.php + baseUrl: 'index.php/api/v1', // Correct entry point and prefix accessToken: localStorage.getItem('access_token'), async post(path, body) { const headers = { 'Accept': 'application/json', 'Content-Type': 'application/json' };