axios-upload
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -18,3 +18,6 @@ 'use strict'; | ||
config.maxContentLength || (config.maxContentLength = 1024 * 1024 * 100); | ||
// axios 里面写死了默认 -1 | ||
if (config.maxContentLength < 0) { | ||
config.maxContentLength = 1024 * 1024 * 100; | ||
} | ||
@@ -21,0 +24,0 @@ config.transformRequest = [(data, headers) => { |
{ | ||
"name": "axios-upload", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "axios upload formdata", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4389
56