diff --git a/.github/README.md b/.github/README.md index 89544d6..b46cb60 100644 --- a/.github/README.md +++ b/.github/README.md @@ -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 diff --git a/sample_config.sxcu b/sample_config.sxcu index 6b52cff..54ae5a6 100755 --- a/sample_config.sxcu +++ b/sample_config.sxcu @@ -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}" } \ No newline at end of file