From 7db08a6ab389b75ef4b4104de23bfacf9ee96b94 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 11 Apr 2026 07:14:30 +0200 Subject: [PATCH] fix(clouddrop): trailing slash on /files endpoint to avoid 301 --- lib/clouddrop-upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clouddrop-upload.js b/lib/clouddrop-upload.js index afa83ee..6a31130 100644 --- a/lib/clouddrop-upload.js +++ b/lib/clouddrop-upload.js @@ -236,7 +236,7 @@ class ClouddropUploader { */ async checkAuth(signal) { if (!this.apiKey) throw new Error('Clouddrop: API-Key fehlt'); - const res = await request(`${API_BASE}/files?limit=1`, { + const res = await request(`${API_BASE}/files/?limit=1`, { method: 'GET', dispatcher: clouddropAgent, signal,