diff --git a/public/assets/js/api.js b/public/assets/js/api.js
index 5f1ec13..19bd972 100644
--- a/public/assets/js/api.js
+++ b/public/assets/js/api.js
@@ -2,7 +2,7 @@
* مُصادَق — API Client with JWT Auth & Refresh Flow
*/
const API = {
- baseUrl: '/api/v1',
+ baseUrl: '/Application/public/api.php',
accessToken: localStorage.getItem('access_token'),
async get(path) {
@@ -39,7 +39,6 @@ const API = {
});
if (response.status === 401) {
- // Try refresh token
const refreshed = await this.refreshToken();
if (refreshed) {
return this._request(method, path, body, isFormData);
@@ -72,5 +71,3 @@ const API = {
return false;
}
};
-
-export default API;
diff --git a/public/shell.php b/public/shell.php
index 47b84eb..63f015e 100644
--- a/public/shell.php
+++ b/public/shell.php
@@ -8,7 +8,6 @@
-
+
+