chanjs 1.0.39 → 1.0.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/core/helper.js +1 -0
  2. package/package.json +3 -3
package/core/helper.js CHANGED
@@ -40,6 +40,7 @@ exports.createKnex = function(opt) {
40
40
  password:config.password,
41
41
  database:config.database,
42
42
  charset:config.charset,
43
+ filename:config.filename
43
44
  },
44
45
  debug: config.debug,
45
46
  //默认为{min: 2, max: 10}
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "chanjs",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "chanjs基于express 纯js研发的轻量级mvc框架。",
5
- "main": "core/chan.js",
6
- "module": "core/chan.js",
5
+ "main": "index.js",
6
+ "module": "index.js",
7
7
  "keywords": [
8
8
  "chanjs",
9
9
  "express mvc",