fix(clouddrop): trailing slash on /files endpoint to avoid 301

This commit is contained in:
Administrator 2026-04-11 07:14:30 +02:00
parent 237da99523
commit 7db08a6ab3

View File

@ -236,7 +236,7 @@ class ClouddropUploader {
*/ */
async checkAuth(signal) { async checkAuth(signal) {
if (!this.apiKey) throw new Error('Clouddrop: API-Key fehlt'); 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', method: 'GET',
dispatcher: clouddropAgent, dispatcher: clouddropAgent,
signal, signal,