fix(clouddrop): trailing slash on /files endpoint to avoid 301
This commit is contained in:
parent
237da99523
commit
7db08a6ab3
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user