fix sharex 2

This commit is contained in:
2026-07-12 18:05:37 +02:00
parent c48a644bb9
commit 06ced46db1

View File

@@ -867,10 +867,10 @@ export default router => {
Parameters: {
rating: defaultRating
},
// $json:file_url$ maps to the direct file URL in the success response JSON
URL: '$json:file_url$',
ThumbnailURL: '$json:file_url$',
ErrorMessage: '$json:msg$'
// {json:file_url} maps to the direct file URL in the success response JSON
URL: '{json:file_url}',
ThumbnailURL: '{json:file_url}',
ErrorMessage: '{response}'
};
const filename = `${cfg.main.url.domain}.sxcu`;