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: { Parameters: {
rating: defaultRating rating: defaultRating
}, },
// $json:file_url$ maps to the direct file URL in the success response JSON // {json:file_url} maps to the direct file URL in the success response JSON
URL: '$json:file_url$', URL: '{json:file_url}',
ThumbnailURL: '$json:file_url$', ThumbnailURL: '{json:file_url}',
ErrorMessage: '$json:msg$' ErrorMessage: '{response}'
}; };
const filename = `${cfg.main.url.domain}.sxcu`; const filename = `${cfg.main.url.domain}.sxcu`;