zeanium-node
Advanced tools
Comparing version 0.9.1 to 0.9.2
{ | ||
"name": "zeanium-node", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "Zeanium for Node.js, simple http server and custome your business.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -19,3 +19,6 @@ /** | ||
APP_PATH: null, | ||
routers: null | ||
routers: null, | ||
models: null, | ||
collections: null, | ||
controllers: null | ||
}, | ||
@@ -22,0 +25,0 @@ methods: { |
@@ -70,3 +70,3 @@ zn.define([ | ||
modules: null, | ||
timeout: 12000, | ||
timeout: 30000, | ||
reDeployDelay: 3000, | ||
@@ -73,0 +73,0 @@ CORS: true, |
@@ -192,2 +192,6 @@ /** | ||
var _incomingForm = new formidable.IncomingForm(); | ||
_incomingForm.maxFileSize = 1024 * 1024 * 1024; | ||
_incomingForm.maxFields = 2000; | ||
_incomingForm.multiples = true; | ||
_incomingForm.maxFieldsSize = 200 * 1024 * 1024; | ||
if(this.applicationContext && this.applicationContext.uploadConfig){ | ||
@@ -197,2 +201,3 @@ _incomingForm.keepExtensions = this.applicationContext.uploadConfig.keepExtensions; //使用文件的原扩展名 | ||
} | ||
_incomingForm.parse(_request,function(error, fields, files){ | ||
@@ -199,0 +204,0 @@ if(error){ |
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
280646
6566