Skip to content

Commit 3e939fb

Browse files
committed
Updated.
1 parent d2e9d7d commit 3e939fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "laravel-frontend-file-manager",
3-
"version": "3.0.13",
3+
"version": "3.0.14",
44
"description": "File manager for Laravel",
55
"keywords": [
66
"laravel",

src/http/axios.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import localstore from '../mixins/localstore';
44
let settings = localstore.getStorage(localstore.axiosSettingType);
55

66
if(settings) {
7-
if(settings.baseURL) axios.default.baseURL = settings.baseURL;
8-
if(settings.withCredentials) axios.default.withCredentials = settings.withCredentials;
9-
if(settings.headers) axios.default.headers = settings.headers;
7+
if(settings.baseURL) axios.defaults.baseURL = settings.baseURL;
8+
if(settings.withCredentials) axios.defaults.withCredentials = settings.withCredentials;
9+
if(settings.headers) axios.defaults.headers = settings.headers;
1010
}
1111

1212
// set new axios instance

0 commit comments

Comments
 (0)