Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd2e9d7d

Browse files
committed
Updated.
1 parentc295134 commitd2e9d7d

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
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.12",
3+
"version":"3.0.13",
44
"description":"File manager for Laravel",
55
"keywords": [
66
"laravel",

‎src/http/axios.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@ import axios from 'axios';
22
importlocalstorefrom'../mixins/localstore';
33

44
letsettings=localstore.getStorage(localstore.axiosSettingType);
5-
letaxiosSettings={};
65

76
if(settings){
8-
if(settings.baseURL)axiosSettings.baseURL=settings.baseURL;
9-
if(settings.withCredentials)axiosSettings.withCredentials=settings.withCredentials;
10-
if(settings.headers)axiosSettings.headers=settings.headers;
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;
1110
}
1211

1312
// set new axios instance
14-
exportdefaultaxios.create({
15-
axiosSettings
16-
});
13+
exportdefaultaxios;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp