REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 767 B
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/extendify_old/src/Launch/api/axios.js
Text
Base64
import axios from 'axios'; const Axios = axios.create({ baseURL: window.extSharedData.root, headers: { 'X-WP-Nonce': window.extSharedData.nonce, 'X-Requested-With': 'XMLHttpRequest', 'X-Extendify': true, }, }); Axios.interceptors.response.use( (response) => findResponse(response), (error) => handleErrors(error), ); const findResponse = (response) => { return Object.hasOwn(response, 'data') ? response.data : response; }; const handleErrors = (error) => { if (!error.response) { return; } console.error(error.response); // if 4XX, return the error object if (error.response.status >= 400 && error.response.status < 500) { return Promise.reject(error.response); } return Promise.reject(findResponse(error.response)); }; export { Axios };
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
__tests__
DIR
-
drwxr-xr-x
2026-04-28 02:40:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
axios.js
767 B
lrw-r--r--
2026-02-19 03:27:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DataApi.js
10.83 KB
lrw-r--r--
2026-02-19 03:27:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LibraryApi.js
171 B
lrw-r--r--
2024-11-12 01:14:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
WooCommerce.js
135 B
lrw-r--r--
2024-12-19 22:43:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
WPApi.js
15.90 KB
lrw-r--r--
2026-02-19 03:27:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).