mirror of https://github.com/tycrek/ass.git
Updated sample and README to match ShareX v14 formatting
This commit is contained in:
parent
af2ad2c144
commit
8653598b0b
|
@ -226,11 +226,11 @@ In your Cloudflare DNS dashboard, set your domain/subdomain to **DNS Only** if y
|
|||
- Name: `Authorization`
|
||||
- Value: (the value provided by `npm start` on first run)
|
||||
5. **Response** tab:
|
||||
- URL: `$json:.resource$`
|
||||
- Thumbnail: `$json:.thumbnail$`
|
||||
- Deletion URL: `$json:.delete$`
|
||||
- Error message: `$response$`
|
||||
- MagicCap users: **do not** include the `.` in the above (i.e. `$json:resource$`)
|
||||
- URL: `{json:.resource}`
|
||||
- Thumbnail: `{json:.thumbnail}`
|
||||
- Deletion URL: `{json:.delete}`
|
||||
- Error message: `{response}`
|
||||
- MagicCap users: **do not** include the `.` in the above & replace `{}` with `$` (i.e. `$json:resource$`)
|
||||
6. The file `sample_config.sxcu` can also be modified & imported to suit your needs
|
||||
|
||||
### Header overrides
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"Version": "13.4.0",
|
||||
"Version": "14.0.1",
|
||||
"Name": "ass",
|
||||
"DestinationType": "ImageUploader, TextUploader, FileUploader",
|
||||
"RequestMethod": "POST",
|
||||
|
@ -9,8 +9,8 @@
|
|||
},
|
||||
"Body": "MultipartFormData",
|
||||
"FileFormName": "file",
|
||||
"URL": "$json:.resource$",
|
||||
"ThumbnailURL": "$json:.thumbnail$",
|
||||
"DeletionURL": "$json:.delete$",
|
||||
"ErrorMessage": "$response$"
|
||||
"URL": "{json:.resource}",
|
||||
"ThumbnailURL": "{json:.thumbnail}",
|
||||
"DeletionURL": "{json:.delete}",
|
||||
"ErrorMessage": "{response}"
|
||||
}
|
Loading…
Reference in New Issue