From d16dd26c65c18fa499957058a63b0968ce92483d Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 8 Oct 2022 21:09:04 +0200 Subject: [PATCH] misc --- README.md | 4 +++- copyparty/web/browser.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 50f359b2..3171a4e3 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,9 @@ try the **[read-only demo server](https://a.ocv.me/pub/demo/)** 👀 running fro ## quickstart -download **[copyparty-sfx.py](https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py)** and you're all set! if you cannot install python, you can use [copyparty.exe](#copypartyexe) instead +download **[copyparty-sfx.py](https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py)** and you're all set! + +if you cannot install python, you can use [copyparty.exe](#copypartyexe) instead running the sfx without arguments (for example doubleclicking it on Windows) will give everyone read/write access to the current folder; you may want [accounts and volumes](#accounts-and-volumes) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 9bf13827..642395cd 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -6428,7 +6428,7 @@ var unpost = (function () { var xhr = new XHR(); xhr.n = n; xhr.n2 = n2; - xhr.open('POST', '/?delete&lim=1', true); + xhr.open('POST', '/?delete&lim=' + links.length, true); xhr.onload = xhr.onerror = unpost_delete_cb; xhr.send(JSON.stringify(req)); };