mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-31 07:11:33 +00:00
fix: correct typo in generated ShareX config (#533)
Should be MultipartFormData instead of MultipartFromData.
This commit is contained in:
parent
59c023588e
commit
4324fbccee
@ -29,7 +29,7 @@ page.prepareShareX = () => {
|
|||||||
RequestMethod: 'POST',
|
RequestMethod: 'POST',
|
||||||
RequestURL: `${window.location.protocol}//${origin}/api/upload`,
|
RequestURL: `${window.location.protocol}//${origin}/api/upload`,
|
||||||
Headers: headers,
|
Headers: headers,
|
||||||
Body: 'MultipartFromData',
|
Body: 'MultipartFormData',
|
||||||
FileFormName: 'files[]',
|
FileFormName: 'files[]',
|
||||||
URL: '$json:files[0].url$',
|
URL: '$json:files[0].url$',
|
||||||
ThumbnailURL: '$json:files[0].url$'
|
ThumbnailURL: '$json:files[0].url$'
|
||||||
|
Loading…
Reference in New Issue
Block a user