express-scaffold
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "express-scaffold", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "a simple but sexy MVC wrapper of Express", | ||
@@ -5,0 +5,0 @@ "logo":"http://ww3.sinaimg.cn/large/61ff0de3jw1e91jmudlz8j201o01o0sj.jpg", |
@@ -19,4 +19,5 @@ var http = require('http'), | ||
var app = express(), | ||
settings = _.extend(defaults, configs); | ||
settings = _.extend(_.clone(defaults), configs); | ||
if (!settings.session.secret) settings.session.secret = defaults.session.secret; | ||
if (settings.database) json.save(path.join(__dirname, '/configs/database.json'), settings.database); | ||
@@ -23,0 +24,0 @@ if (settings.session.store) settings.session.store = new mongoStore({ db: settings.session.secret }); |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22101
428
1