mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-07-04 14:19:19 +00:00
优化
This commit is contained in:
parent
c83abd270b
commit
80ca583b5f
@ -238,9 +238,7 @@ export class xzq extends plugin {
|
|||||||
form.append('token', configControl.get('coreConfig')?.token);
|
form.append('token', configControl.get('coreConfig')?.token);
|
||||||
const uploadUrl = `${configControl.get('coreConfig')?.coreUrl}/public/upload?dir=fanqie&expire=600`;
|
const uploadUrl = `${configControl.get('coreConfig')?.coreUrl}/public/upload?dir=fanqie&expire=600`;
|
||||||
const response = await axios.post(uploadUrl, form, {
|
const response = await axios.post(uploadUrl, form, {
|
||||||
headers: {
|
headers: form.getHeaders(),
|
||||||
...form.getHeaders(),
|
|
||||||
},
|
|
||||||
maxContentLength: Infinity,
|
maxContentLength: Infinity,
|
||||||
maxBodyLength: Infinity,
|
maxBodyLength: Infinity,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user