@jeetiss/upload
Version:
Library for work with Uploadcare Upload API
23 lines (22 loc) • 713 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*
SettingsInterface for future support:
multipartMaxAttempts: 3,
parallelDirectUploads: 10,
pusherKey: '79ae88bd931ea68464d9',
*/
var defaultSettings = {
baseCDN: 'https://ucarecdn.com',
baseURL: 'https://upload.uploadcare.com',
fileName: 'original',
maxContentLength: 50 * 1024 * 1024,
retryThrottledRequestMaxTimes: 1,
multipartMinFileSize: 25 * 1024 * 1024,
multipartChunkSize: 5 * 1024 * 1024,
multipartMinLastPartSize: 1024 * 1024,
maxConcurrentRequests: 4,
pollingTimeoutMilliseconds: 10000,
contentType: 'application/octet-stream' // ??
};
exports.default = defaultSettings;