forked from svrjs/svrjs
fix: initialize the SVR.JS Core configuration only if configuration is supplied
This commit is contained in:
parent
c9bbd0e202
commit
50465e4a6c
1 changed files with 1 additions and 1 deletions
|
@ -625,7 +625,7 @@ function requestHandler(req, res, next) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function init(config) {
|
function init(config) {
|
||||||
coreConfig = config;
|
if (config) coreConfig = config;
|
||||||
return requestHandler;
|
return requestHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue