mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-07-04 14:19:19 +00:00
修bug
This commit is contained in:
parent
481ca177b7
commit
d7d02ffc0f
@ -228,7 +228,7 @@ export class xzq extends plugin {
|
||||
const fileStream = fs.createReadStream(filePath);
|
||||
form.append('file', fileStream);
|
||||
form.append('token', configControl.get('coreConfig')?.token);
|
||||
const uploadUrl = `${configControl.get('coreConfig')?.coreUrl}/upload?dir=fanqie&expire=600`;
|
||||
const uploadUrl = `${configControl.get('coreConfig')?.coreUrl}/public/upload?dir=fanqie&expire=600`;
|
||||
const response = await axios.post(uploadUrl, form, {
|
||||
headers: {
|
||||
...form.getHeaders(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user