Compare commits

...

2 Commits

Author SHA1 Message Date
Sucukdeluxe
54e502b9af Release v1.6.74 2026-03-06 11:09:44 +01:00
Sucukdeluxe
5873ffa60d 🐛 fix(1fichier): disable CDN downloads to preserve CDN credits
Pass cdn: 0 to 1Fichier get_token API to force direct server
downloads instead of CDN, avoiding unnecessary CDN credit usage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 11:09:13 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "real-debrid-downloader", "name": "real-debrid-downloader",
"version": "1.6.73", "version": "1.6.74",
"description": "Desktop downloader", "description": "Desktop downloader",
"main": "build/main/main/main.js", "main": "build/main/main/main.js",
"author": "Sucukdeluxe", "author": "Sucukdeluxe",

View File

@ -1274,7 +1274,7 @@ class OneFichierClient {
"Content-Type": "application/json", "Content-Type": "application/json",
Authorization: `Bearer ${this.apiKey}` Authorization: `Bearer ${this.apiKey}`
}, },
body: JSON.stringify({ url: link, pretty: 1 }), body: JSON.stringify({ url: link, pretty: 1, cdn: 0 }),
signal: withTimeoutSignal(signal, API_TIMEOUT_MS) signal: withTimeoutSignal(signal, API_TIMEOUT_MS)
}); });