Support Webshare guest downloads without login.

Credentials optional: empty WEBSHARE_* uses file_link without wst (free CDN). Verified against live API; docs and tests updated. Includes cancel→dequeue fix for queued downloads.
This commit is contained in:
2026-08-07 11:31:19 +02:00
parent 97b9215917
commit 798d7d7251
9 changed files with 259 additions and 88 deletions

View File

@@ -1,5 +1,6 @@
PORT=3001
BASE_URL=http://webshare-api:3001
# Optional. Leave both empty for guest/free mode (works without login; free CDN is slower).
WEBSHARE_USERNAME=
WEBSHARE_PASSWORD=