Comparing version 1.0.20 to 1.0.21
@@ -53,3 +53,4 @@ "use strict"; | ||
view = _config$view === void 0 ? {} : _config$view, | ||
session = config.session; | ||
_config$session = config.session, | ||
session = _config$session === void 0 ? {} : _config$session; | ||
var _view$engine = view.engine, | ||
@@ -56,0 +57,0 @@ engine = _view$engine === void 0 ? 'ejs' : _view$engine, |
{ | ||
"name": "vweb-mvc", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"description": "mvc ", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
@@ -48,3 +48,3 @@ import ControllerAdapter from "./controller"; | ||
let {log4j, userDir} = this; | ||
let {view = {}, session} = config; | ||
let {view = {}, session = {}} = config; | ||
let {engine = 'ejs', root = 'views', resource = 'public'} = view; | ||
@@ -51,0 +51,0 @@ let logger = log4j.getLogger("mvc"); |
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
99626
2604