Compare commits

..

No commits in common. "43433cbc00596010b40e37a8436f8b40c46c710e" and "0bf3061852a549007d43465c5c0af7c9cea99708" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,6 @@ const { request, Agent } = require('undici');
const BASE_URL = 'https://clouddrop.cc'; const BASE_URL = 'https://clouddrop.cc';
const API_BASE = `${BASE_URL}/api/cloud`; const API_BASE = `${BASE_URL}/api/cloud`;
const CHUNK_UPLOAD_BASE = 'https://upload.clouddrop.cc/api/cloud';
const USER_AGENT = 'multi-hoster-uploader/1.0'; const USER_AGENT = 'multi-hoster-uploader/1.0';
const SIMPLE_UPLOAD_LIMIT = 16 * 1024 * 1024; // 16 MB const SIMPLE_UPLOAD_LIMIT = 16 * 1024 * 1024; // 16 MB
@ -170,7 +169,7 @@ class ClouddropUploader {
if (throttle) await throttle.consume(thisChunkSize, signal); if (throttle) await throttle.consume(thisChunkSize, signal);
const chunkRes = await request(`${CHUNK_UPLOAD_BASE}/upload/${sessionId}/chunk/${i}`, { const chunkRes = await request(`${API_BASE}/upload/${sessionId}/chunk/${i}`, {
method: 'PUT', method: 'PUT',
dispatcher: clouddropAgent, dispatcher: clouddropAgent,
signal, signal,

View File

@ -1,6 +1,6 @@
{ {
"name": "multi-hoster-uploader", "name": "multi-hoster-uploader",
"version": "2.7.6", "version": "2.7.5",
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously", "description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {