fix sharex config example
This commit is contained in:
		
							parent
							
								
									58ae38c613
								
							
						
					
					
						commit
						8ff7094e4d
					
				| @ -17,11 +17,6 @@ | |||||||
| * `RequestURL`: full URL to the target folder | * `RequestURL`: full URL to the target folder | ||||||
| * `pw`: password (remove the `pw` line if anon-write) | * `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 (remove `Parameters` if anon-write) |  | ||||||
| 
 |  | ||||||
| ### [`send-to-cpp.contextlet.json`](send-to-cpp.contextlet.json) | ### [`send-to-cpp.contextlet.json`](send-to-cpp.contextlet.json) | ||||||
| * browser integration, kind of? custom rightclick actions and stuff | * browser integration, kind of? custom rightclick actions and stuff | ||||||
| * rightclick a pic and send it to copyparty straight from your browser | * rightclick a pic and send it to copyparty straight from your browser | ||||||
|  | |||||||
| @ -1,19 +0,0 @@ | |||||||
| { |  | ||||||
|   "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 // <a href=\"/([^\"]+)\"" |  | ||||||
|   ], |  | ||||||
|   "URL": "http://127.0.0.1:3923/$regex:1|1$" |  | ||||||
| } |  | ||||||
| @ -1,17 +1,19 @@ | |||||||
| { | { | ||||||
|   "Version": "13.5.0", |   "Version": "15.0.0", | ||||||
|   "Name": "copyparty", |   "Name": "copyparty", | ||||||
|   "DestinationType": "ImageUploader", |   "DestinationType": "ImageUploader", | ||||||
|   "RequestMethod": "POST", |   "RequestMethod": "POST", | ||||||
|   "RequestURL": "http://127.0.0.1:3923/sharex", |   "RequestURL": "http://127.0.0.1:3923/sharex", | ||||||
|   "Parameters": { |   "Parameters": { | ||||||
|     "pw": "wark", |  | ||||||
|     "j": null |     "j": null | ||||||
|   }, |   }, | ||||||
|  |   "Headers": { | ||||||
|  |     "pw": "PUT_YOUR_PASSWORD_HERE_MY_DUDE" | ||||||
|  |   }, | ||||||
|   "Body": "MultipartFormData", |   "Body": "MultipartFormData", | ||||||
|   "Arguments": { |   "Arguments": { | ||||||
|     "act": "bput" |     "act": "bput" | ||||||
|   }, |   }, | ||||||
|   "FileFormName": "f", |   "FileFormName": "f", | ||||||
|   "URL": "$json:files[0].url$" |   "URL": "{json:files[0].url}" | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 ed
						ed