Skip to content

Commit 6016ec9

Browse files
committed
connectpage: fix sharex
1 parent fb7cbc4 commit 6016ec9

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

copyparty/web/svcs.html

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,26 @@ <h1>SMB / CIFS</h1>
240240
<div class="os win">
241241
<h1>ShareX</h1>
242242

243-
<p>to upload screenshots using ShareX <a href="https://github.com/ShareX/ShareX/releases/tag/v12.1.1">v12</a> or <a href="https://getsharex.com/">v15+</a>, save this as <code>copyparty.sxcu</code> and run it:</p>
243+
<p>to upload screenshots using ShareX <a href="https://getsharex.com/">v15+</a>, save this as <code>copyparty.sxcu</code> and run it:</p>
244+
245+
<pre class="dl" name="copyparty.sxcu">
246+
{ "Version": "15.0.0", "Name": "copyparty",
247+
"RequestURL": "http{{ s }}://{{ ep }}/{{ rvp }}",
248+
"Headers": {
249+
{% if accs %}"pw": "<b>{{ pw }}</b>", {% endif %}"accept": "url"
250+
},
251+
"DestinationType": "ImageUploader, TextUploader, FileUploader",
252+
"Body": "MultipartFormData", "URL": "{response}",
253+
"RequestMethod": "POST", "FileFormName": "f" }
254+
</pre>
255+
256+
<p>for ShareX <a href="https://github.com/ShareX/ShareX/releases/tag/v12.1.1">v12</a> specifically, save this as <code>copyparty.sxcu</code> and run it:</p>
244257

245258
<pre class="dl" name="copyparty.sxcu">
246259
{ "Name": "copyparty",
247260
"RequestURL": "http{{ s }}://{{ ep }}/{{ rvp }}",
248261
"Headers": {
249-
{% if accs %}"pw": "<b>{{ pw }}</b>",{% endif %}
250-
"accept": "url"
262+
{% if accs %}"pw": "<b>{{ pw }}</b>", {% endif %}"accept": "url"
251263
},
252264
"DestinationType": "ImageUploader, TextUploader, FileUploader",
253265
"FileFormName": "f" }

0 commit comments

Comments
 (0)