diff --git a/contrib/README.md b/contrib/README.md index ffc922e0..0df42b5b 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -12,8 +12,12 @@ ### [`sharex.sxcu`](sharex.sxcu) * sharex config file to upload screenshots and grab the URL * `RequestURL`: full URL to the target folder +* `pw`: password (remove the `pw` line if anon-write) + +however if your copyparty is behind a reverse-proxy, you may want to use [`sharex-html.sxcu`](sharex-html.sxcu) instead: +* `RequestURL`: full URL to the target folder * `URL`: full URL to the root folder (with trailing slash) followed by `$regex:1|1$` -* `pw`: password (or remove `Parameters` if anon-write) +* `pw`: password (remove `Parameters` if anon-write) ### [`explorer-nothumbs-nofoldertypes.reg`](explorer-nothumbs-nofoldertypes.reg) * disables thumbnails and folder-type detection in windows explorer diff --git a/contrib/sharex-html.sxcu b/contrib/sharex-html.sxcu new file mode 100644 index 00000000..3292b6f2 --- /dev/null +++ b/contrib/sharex-html.sxcu @@ -0,0 +1,19 @@ +{ + "Version": "13.5.0", + "Name": "copyparty-html", + "DestinationType": "ImageUploader", + "RequestMethod": "POST", + "RequestURL": "http://127.0.0.1:3923/sharex", + "Parameters": { + "pw": "wark" + }, + "Body": "MultipartFormData", + "Arguments": { + "act": "bput" + }, + "FileFormName": "f", + "RegexList": [ + "bytes //